mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
print connecting message
This commit is contained in:
parent
f3e2a260d9
commit
5bffeabbba
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue