diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-11-06 08:07:59 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-06 09:52:24 +0000 |
commit | 558034ab7002d133505f43a59c2c499e0368095b (patch) | |
tree | 81e929bc008bdc95c205bc95bb93f1a9077fc314 /tests/ftpserver.pl | |
parent | 27b7b1062f9d97197c059d7b8d4523f6992e15c0 (diff) | |
download | curl-558034ab7002d133505f43a59c2c499e0368095b.tar.gz |
ftpserver.pl: Corrected logic from commit 27b7b1062f9d97
Diffstat (limited to 'tests/ftpserver.pl')
-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 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 { |