diff options
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 { |