mirror of
https://github.com/curl/curl.git
synced 2026-07-23 05:17:21 +03:00
ftpserver.pl: Corrected invalid argument check in POP3 TOP handler
...which was accidentally introduced in commit 4d6ef6297a.
This commit is contained in:
parent
4d6ef6297a
commit
45e0a661ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue