aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/ftpserver.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 2732b1696..b58c44a66 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -1038,6 +1038,7 @@ sub SEARCH_imap {
if ($selected eq "") {
sendcontrol "$cmdid BAD Command received in Invalid state\r\n";
+ }
else {
my $testno = $selected;