CVS commit by ossi: accept empty SEARCH IMAP responses - reasonable servers omit them alltogether, but this is allowed, too. patch by CCMAIL: Alexander Gerasiov <[EMAIL PROTECTED]> fixes debian bug #413336
fixed in HEAD a year ago - accidentally ... M +3 -1 drv_imap.c 1.10.2.6 --- isync/src/drv_imap.c #1.10.2.5:1.10.2.6 @@ -866,5 +866,7 @@ parse_search( imap_t *imap, char *cmd ) 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; ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel