Changing expected status response for Logout call

This commit is contained in:
Daniel Sluis committed 2013-10-18 09:30:28 -07:00
1 parent 962edd16c2
commit 169efda0b5
1 file changed
+1 -1
+1 -1
View File
@@ -437,7 +437,7 @@ func (c *ServerConn) NoOp() error {
// Logout issues a REIN FTP command to logout the current user.
func (c *ServerConn) Logout() error {
_, _, err := c.cmd(StatusLoggedIn, "REIN")
_, _, err := c.cmd(StatusReady, "REIN")
return err
}