diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-09-14 16:18:47 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-09-14 16:18:47 +0100 |
commit | 45e0a661cece6a2c2af2e946b5ef67b5aac01c68 (patch) | |
tree | e84569962072ad43bce99bf3da4fb9ace88630ce | |
parent | 4d6ef6297ae9b6944f647c562ff447f8774fe0b1 (diff) | |
download | curl-45e0a661cece6a2c2af2e946b5ef67b5aac01c68.tar.gz |
ftpserver.pl: Corrected invalid argument check in POP3 TOP handler
...which was accidentally introduced in commit 4d6ef6297ae9b6.
-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 { |