From c1e2f371ae74f580893a54342431301ec6cf2725 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 24 May 2006 10:54:40 +0000 Subject: POP3: some UID flags may not be set properly on UIDL lists. (Sunil Shetye) svn path=/branches/BRANCH_6-3/; revision=4852 --- NEWS | 1 + pop3.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3