From 27b7b1062f9d97197c059d7b8d4523f6992e15c0 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 6 Nov 2013 07:19:01 +0000 Subject: ftpserver.pl: Fixed IMAP cmdid being sent on custom responses --- tests/ftpserver.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 1d209d8d9..b6ed5839a 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -3114,9 +3114,10 @@ while(1) { else { $text = $displaytext{$FTPCMD}; } + my $check; if($text && ($text ne "")) { - if($cmdid && ($cmdid ne "")) { + if(($cmdid) && ($cmdid ne "") && ($fake) && ($fake ne "")) { sendcontrol "$cmdid$text\r\n"; } else { -- cgit v1.2.3