From 558034ab7002d133505f43a59c2c499e0368095b Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 6 Nov 2013 08:07:59 +0000 Subject: ftpserver.pl: Corrected logic from commit 27b7b1062f9d97 --- tests/ftpserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 { -- cgit v1.2.3