aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2019-06-27 23:52:28 +0200
committerMatthias Andree <matthias.andree@gmx.de>2019-08-05 13:08:43 +0200
commit604913239997dc85412f55d6f5de24507db1497a (patch)
tree1037185f37386ce0f54174c87d295d120fa634cd /imap.c
parente19fbae0fe0abe836a937a320275abbf1f9eac7a (diff)
downloadfetchmail-604913239997dc85412f55d6f5de24507db1497a.tar.gz
fetchmail-604913239997dc85412f55d6f5de24507db1497a.tar.bz2
fetchmail-604913239997dc85412f55d6f5de24507db1497a.zip
Comment on EXISTS in response to EXPUNGE.
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index edad9581..8163ddaa 100644
--- a/imap.c
+++ b/imap.c
@@ -151,7 +151,9 @@ static int imap_untagged_response(int sock, const char *buf)
oldcount--;
/* We do expect an EXISTS response immediately
* after this, so this updation of recentcount is
- * just a precaution! */
+ * just a precaution!
+ * XXX FIXME: per RFC 3501, 7.4.1. EXPUNGE Reponse
+ * on Page 73, an EXISTS response is not required */
if ((recentcount = count - oldcount) < 0)
recentcount = 0;
actual_deletions++;