diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-11-05 14:28:22 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-11-05 14:28:22 +0000 |
commit | 5cf8f79757af93a10dbb7affb2fbbeddc8c6161d (patch) | |
tree | bc01c376b82a7ee682690b8fcee74a2920574fca /imap.c | |
parent | 19f79656acadda76cf667eda8b25ad5d2d6b0a2b (diff) | |
download | fetchmail-5cf8f79757af93a10dbb7affb2fbbeddc8c6161d.tar.gz fetchmail-5cf8f79757af93a10dbb7affb2fbbeddc8c6161d.tar.bz2 fetchmail-5cf8f79757af93a10dbb7affb2fbbeddc8c6161d.zip |
Minor bug fixes im IMAP handling.
svn path=/trunk/; revision=1534
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -425,11 +425,17 @@ static int imap_getrange(int sock, if (!ok) expunge_uids(ctl); #endif /* IMAP_UID */ + count = -1; if (ok || gen_transact(sock, "NOOP")) { error(0, 0, "re-poll failed"); return(ok); } + else if (count == -1) /* no EXISTS response to NOOP */ + { + count = recent = 0; + unseen = -1; + } } else { |