diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ftpserver.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index b58c44a66..ec7ccbba8 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -1036,14 +1036,14 @@ sub SEARCH_imap { my ($what) = @_; fix_imap_params($what); + logmsg "SEARCH_imap got $what\n"; + if ($selected eq "") { sendcontrol "$cmdid BAD Command received in Invalid state\r\n"; } else { my $testno = $selected; - logmsg "SEARCH_imap got test $testno\n"; - $testno =~ s/^([^0-9]*)//; my $testpart = ""; if ($testno > 10000) { |