mirror of https://github.com/schollz/croc.git
print connecting message
This commit is contained in:
parent
f3e2a260d9
commit
5bffeabbba
|
@ -312,6 +312,7 @@ func (c *Client) Send(options TransferOptions) (err error) {
|
||||||
|
|
||||||
// Receive will receive a file
|
// Receive will receive a file
|
||||||
func (c *Client) Receive() (err error) {
|
func (c *Client) Receive() (err error) {
|
||||||
|
fmt.Fprintf(os.Stderr, "connecting...")
|
||||||
// recipient will look for peers first
|
// recipient will look for peers first
|
||||||
// and continue if it doesn't find any within 100 ms
|
// and continue if it doesn't find any within 100 ms
|
||||||
if !c.Options.DisableLocal {
|
if !c.Options.DisableLocal {
|
||||||
|
|
Loading…
Reference in New Issue