Fix error

This commit is contained in:
Zack Scholl 2017-10-20 16:46:01 -06:00
parent da16d6f4d7
commit 7e6169dc03
1 changed files with 1 additions and 4 deletions

View File

@ -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
}