Commit 45e0a661 authored by Steve Holme's avatar Steve Holme
Browse files

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

...which was accidentally introduced in commit 4d6ef629.
parent 4d6ef629
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {