accept empty SEARCH IMAP responses - reasonable servers omit them
alltogether, but this is allowed, too. patch by CCMAIL: Alexander Gerasiov <gq@cs.msu.su> fixes debian bug #413336 fixed in HEAD a year ago - accidentally ...
This commit is contained in:
parent
9a0539868a
commit
0eb399c672
|
@ -865,7 +865,9 @@ parse_search( imap_t *imap, char *cmd )
|
|||
int uid;
|
||||
|
||||
arg = next_arg( &cmd );
|
||||
if (!arg || !(uid = atoi( arg ))) {
|
||||
if (!arg)
|
||||
return;
|
||||
if (!(uid = atoi( arg ))) {
|
||||
fprintf( stderr, "IMAP error: malformed SEARCH response\n" );
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user