projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d6ef62
)
ftpserver.pl: Corrected invalid argument check in POP3 TOP handler
author
Steve Holme
<steve_holme@hotmail.com>
Sat, 14 Sep 2013 15:18:47 +0000
(16:18 +0100)
committer
Steve Holme
<steve_holme@hotmail.com>
Sat, 14 Sep 2013 15:18:47 +0000
(16:18 +0100)
...which was accidentally introduced in commit
4d6ef6297ae9b6
.
tests/ftpserver.pl
patch
|
blob
|
history
diff --git
a/tests/ftpserver.pl
b/tests/ftpserver.pl
index
075e02e
..
78e50c6
100755
(executable)
--- 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 {