Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Commit

Permalink
Fix data transfer error code
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Simoncelli <[email protected]>
  • Loading branch information
simon3z committed Nov 13, 2016
1 parent 7202e3d commit 3130d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ func (cmd commandStor) Execute(conn *Conn, param string) {
msg := "OK, received " + strconv.Itoa(int(bytes)) + " bytes"
conn.writeMessage(226, msg)
} else {
conn.writeMessage(450, fmt.Sprintln("error during transfer:", err))
conn.writeMessage(550, fmt.Sprintln("error during transfer:", err))
}
}

Expand Down

0 comments on commit 3130d49

Please sign in to comment.