diff options
Diffstat (limited to 'tests/ftpserver.pl')
-rwxr-xr-x | tests/ftpserver.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 075e02e77..78e50c6a5 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -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 { |