mirror of
https://github.com/schollz/croc.git
synced 2024-11-28 01:16:10 +03:00
don't need to double public address
This commit is contained in:
parent
13670d683c
commit
5ca9b06eb7
@ -445,7 +445,7 @@ func (c *Connection) runClient(serverName string) error {
|
||||
// wait for relay go
|
||||
receiveMessage(connection)
|
||||
if id == 0 {
|
||||
fmt.Fprintf(os.Stderr, "\nSending (->%s@%s)..\n", publicKeyRecipient, message)
|
||||
fmt.Fprintf(os.Stderr, "\nSending (->@%s)..\n", message)
|
||||
}
|
||||
// wait for pipe to be made
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
@ -583,7 +583,7 @@ func (c *Connection) runClient(serverName string) error {
|
||||
sendMessage("ok", connection)
|
||||
log.Debug("receive file")
|
||||
if id == 0 {
|
||||
fmt.Fprintf(os.Stderr, "\nReceiving (<-%s@%s)..\n", publicKeySender, sendersAddress)
|
||||
fmt.Fprintf(os.Stderr, "\nReceiving (<-@%s)..\n", sendersAddress)
|
||||
}
|
||||
responses.Lock()
|
||||
responses.startTime = time.Now()
|
||||
|
Loading…
Reference in New Issue
Block a user