ftpserver.pl: Corrected invalid argument check in POP3 TOP handler

...which was accidentally introduced in commit 4d6ef6297ae9b6.
This commit is contained in:
Steve Holme 2013-09-14 16:18:47 +01:00
parent 4d6ef6297a
commit 45e0a661ce

View File

@ -1584,7 +1584,7 @@ sub TOP_pop3 {
if (!grep /^TOP$/, @capabilities) {
sendcontrol "-ERR Unrecognized command\r\n";
}
elsif ((!$msg) || (!$lines)) {
elsif (($msg eq "") || ($lines eq "")) {
sendcontrol "-ERR Protocol error\r\n";
}
else {