From 49e3d803ab5bdcb2ef1d865770a5857a7f09fe94 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 28 Aug 2013 22:58:33 +0100 Subject: 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. --- tests/ftpserver.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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) { -- cgit v1.2.3