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.
This commit is contained in:
Steve Holme 2013-08-28 22:58:33 +01:00
parent b644ae68c8
commit 49e3d803ab

View File

@ -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) {