ftpserver.pl: Corrected accidental move of logmsg() call
Corrected the call to logmsg() in the IMAP SEARCH handler from commit
4ae7b7ea69 as it should have been outputting the what argument and
not the test number.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user