commit 0eb399c672ab755151ee35edf3bc38fd9e8631d3
Author: Oswald Buddenhagen <[email protected]>
Date: Wed Apr 4 13:27:24 2007 +0000
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 ...
src/drv_imap.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/drv_imap.c b/src/drv_imap.c
index 21e6018..1e976f2 100644
--- a/src/drv_imap.c
+++ b/src/drv_imap.c
@@ -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;
}
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel