From ae8090aa44620da8f6321a0ffac7b663d1429b7f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 14 May 2001 07:08:22 +0000 Subject: Better error recovery in UIDL code. svn path=/trunk/; revision=3315 --- NEWS | 1 + driver.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index b51cf8b5..6a23bcc9 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ (The `lines' figures total .c, .h, .l, and .y files under version control.) * SSL certificate options from Thomas Moestl . +* Frantisek Brabec's patch for better UIDL error recovery. fetchmail-5.8.3 (Sat May 12 04:07:12 EDT 2001), 20502 lines: diff --git a/driver.c b/driver.c index 42dcac8f..6e12a672 100644 --- a/driver.c +++ b/driver.c @@ -2347,8 +2347,11 @@ is restored.")); for (sdp = ctl->newsaved; sdp; sdp = sdp->next) if ((sdp->val.status.num == num) - && (!toolarge || oldmsg)) + && (!toolarge || oldmsg)) + { sdp->val.status.mark = UID_SEEN; + save_str(&ctl->oldsaved, sdp->id,UID_SEEN); + } } /* maybe we delete this message now? */ -- cgit v1.2.3