summaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-06 08:07:59 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-06 09:52:24 +0000
commit558034ab7002d133505f43a59c2c499e0368095b (patch)
tree81e929bc008bdc95c205bc95bb93f1a9077fc314 /tests/ftpserver.pl
parent27b7b1062f9d97197c059d7b8d4523f6992e15c0 (diff)
downloadcurl-558034ab7002d133505f43a59c2c499e0368095b.tar.gz
ftpserver.pl: Corrected logic from commit 27b7b1062f9d97
Diffstat (limited to 'tests/ftpserver.pl')
-rwxr-xr-xtests/ftpserver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index b6ed5839a..14419813f 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -3117,7 +3117,7 @@ while(1) {
my $check;
if($text && ($text ne "")) {
- if(($cmdid) && ($cmdid ne "") && ($fake) && ($fake ne "")) {
+ if(($cmdid) && ($cmdid ne "") && ((!$fake) || ($fake eq ""))) {
sendcontrol "$cmdid$text\r\n";
}
else {