ftpserver.pl: Corrected invalid argument check in POP3 TOP handler
...which was accidentally introduced in commit 4d6ef6297ae9b6.
This commit is contained in:
parent
4d6ef6297a
commit
45e0a661ce
@ -1584,7 +1584,7 @@ sub TOP_pop3 {
|
|||||||
if (!grep /^TOP$/, @capabilities) {
|
if (!grep /^TOP$/, @capabilities) {
|
||||||
sendcontrol "-ERR Unrecognized command\r\n";
|
sendcontrol "-ERR Unrecognized command\r\n";
|
||||||
}
|
}
|
||||||
elsif ((!$msg) || (!$lines)) {
|
elsif (($msg eq "") || ($lines eq "")) {
|
||||||
sendcontrol "-ERR Protocol error\r\n";
|
sendcontrol "-ERR Protocol error\r\n";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user