1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-28 17:44:51 +03:00

print connecting message

This commit is contained in:
Zack Scholl 2019-05-01 11:03:16 -06:00
parent f3e2a260d9
commit 5bffeabbba

View File

@ -312,6 +312,7 @@ func (c *Client) Send(options TransferOptions) (err error) {
// Receive will receive a file
func (c *Client) Receive() (err error) {
fmt.Fprintf(os.Stderr, "connecting...")
// recipient will look for peers first
// and continue if it doesn't find any within 100 ms
if !c.Options.DisableLocal {