summaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-06 12:31:46 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-06 12:31:46 +0000
commitcf7008670bc0dac29e3abbc91a39b45ef4174419 (patch)
tree255a0a21df8fee52c60dfb0f80a28abf7e67c2eb /tests/ftpserver.pl
parent558034ab7002d133505f43a59c2c499e0368095b (diff)
downloadcurl-cf7008670bc0dac29e3abbc91a39b45ef4174419.tar.gz
Revert "ftpserver.pl: Corrected logic from commit 27b7b1062f9d97"
This reverts commit 558034ab7002d1 as it appears to break the auto builds. More thought is required for this!
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 14419813f..b6ed5839a 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 eq ""))) {
+ if(($cmdid) && ($cmdid ne "") && ($fake) && ($fake ne "")) {
sendcontrol "$cmdid$text\r\n";
}
else {