diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-08-28 22:58:33 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-08-28 22:58:33 +0100 |
commit | 49e3d803ab5bdcb2ef1d865770a5857a7f09fe94 (patch) | |
tree | 65fc9efdd9956dd98a67c27e98f1cbc4fee3b5ce | |
parent | b644ae68c8c7a1d9f41ec10f0092137cfe480f43 (diff) |
ftpserver.pl: Corrected accidental move of logmsg() call
Corrected the call to logmsg() in the IMAP SEARCH handler from commit
4ae7b7ea691497 as it should have been outputting the what argument and
not the test number.
-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) { |