From 5ca9b06eb70fe9a699b30ab5634e759ce114ef8c Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Sun, 24 Jun 2018 10:31:04 -0700 Subject: [PATCH] don't need to double public address --- connect.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connect.go b/connect.go index 248a024..c686dd0 100644 --- a/connect.go +++ b/connect.go @@ -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()