aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--pop3.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d5b92d35..f35a730b 100644
--- a/NEWS
+++ b/NEWS
@@ -74,6 +74,7 @@ fetchmail 6.3.5 (not yet released):
* Provide INET6 to KAME/getnameinfo.c (only useful on IPv6-enabled systems that
lack getnameinfo, and there only visible in some Received: headers).
Found by Dan Fandrich.
+* POP3: some UID flags may not be set properly on UIDL lists. (Sunil Shetye)
* Make IMAP4 IDLE work on servers that do not update RECENT counts.
Reported by Lars Tewes.
* IMAP4 patch by Sunil Shetye:
diff --git a/pop3.c b/pop3.c
index c4163ab1..fd5b1304 100644
--- a/pop3.c
+++ b/pop3.c
@@ -1019,8 +1019,9 @@ static int pop3_getrange(int sock,
* the same mail will not be downloaded again.
*/
old = save_str(&ctl->oldsaved, id, UID_UNSEEN);
- old->val.status.num = unum;
}
+ /* save the number */
+ old->val.status.num = unum;
} else
return PS_ERROR;
} /* multi-line loop for UIDL reply */