diff options
-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 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 { |