aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-06 07:19:01 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-06 07:19:01 +0000
commit27b7b1062f9d97197c059d7b8d4523f6992e15c0 (patch)
tree255a0a21df8fee52c60dfb0f80a28abf7e67c2eb
parentaf82661dbd9475ee9375c9aae440968f9da27587 (diff)
ftpserver.pl: Fixed IMAP cmdid being sent on custom responses
-rwxr-xr-xtests/ftpserver.pl3
1 files changed, 2 insertions, 1 deletions
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 {