mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
ftpserver.pl: Fixed IMAP SEARCH command
This commit is contained in:
parent
c3b513e75c
commit
13a2e32548
@ -1033,12 +1033,13 @@ sub STATUS_imap {
|
||||
}
|
||||
|
||||
sub SEARCH_imap {
|
||||
my ($testno) = @_;
|
||||
fix_imap_params($testno);
|
||||
my ($what) = @_;
|
||||
my $testno = $selected;
|
||||
fix_imap_params($what);
|
||||
|
||||
logmsg "SEARCH_imap got test $testno\n";
|
||||
|
||||
$testno =~ s/[^0-9]//g;
|
||||
$testno =~ s/^([^0-9]*)//;
|
||||
my $testpart = "";
|
||||
if ($testno > 10000) {
|
||||
$testpart = $testno % 10000;
|
||||
|
Loading…
Reference in New Issue
Block a user