Fix issues reported by staticcheck

This commit is contained in:
Julien Laffaye
2020-10-21 22:10:46 +02:00
parent 333201f85f
commit 0de5c29d45
3 changed files with 4 additions and 4 deletions

View File

@@ -203,7 +203,6 @@ func (mock *ftpMock) listen(t *testing.T) {
}
if (strings.Join(cmdParts[1:], " ")) == "UTF8 ON" {
mock.proto.Writer.PrintfLine("200 OK, UTF-8 enabled")
break
}
case "REIN":
mock.proto.Writer.PrintfLine("220 Logged out")