From 7e6169dc030a162e4c86954dea9b783cc20dc34c Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Fri, 20 Oct 2017 16:46:01 -0600 Subject: [PATCH] Fix error --- connect.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/connect.go b/connect.go index 36cc9c1f..7c98f6b3 100644 --- a/connect.go +++ b/connect.go @@ -281,6 +281,7 @@ func (c *Connection) runClient() error { if c.IsSender { // TODO: Add confirmation + fmt.Println("File sent.") } else { // Is a Receiver if notPresent { fmt.Println("Sender/Code not present") @@ -316,10 +317,6 @@ func (c *Connection) runClient() error { } else { fmt.Printf("\nReceived file written to %s", c.File.Name) } - - } else { - fmt.Println("File sent.") - // TODO: Add confirmation } return nil }