Fix golint warning
This commit is contained in:
6
ftp.go
6
ftp.go
@@ -131,11 +131,9 @@ func (c *ServerConn) Login(user, password string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Switch to UTF-8
|
// Switch to UTF-8
|
||||||
if err := c.setUTF8(); err != nil {
|
err = c.setUTF8()
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// feat issues a FEAT FTP command to list the additional commands supported by
|
// feat issues a FEAT FTP command to list the additional commands supported by
|
||||||
|
|||||||
Reference in New Issue
Block a user