Fix golint warning

This commit is contained in:
Julian Kornberger 2018-01-04 15:23:55 +01:00
parent 9996d9dfc0
commit 38ce06637b

6
ftp.go
View File

@ -131,11 +131,9 @@ func (c *ServerConn) Login(user, password string) error {
}
// Switch to UTF-8
if err := c.setUTF8(); err != nil {
return err
}
err = c.setUTF8()
return nil
return err
}
// feat issues a FEAT FTP command to list the additional commands supported by