diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-05-14 07:08:22 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-05-14 07:08:22 +0000 |
commit | ae8090aa44620da8f6321a0ffac7b663d1429b7f (patch) | |
tree | c6f59d52047e5b57c551acb7d279fd6967ecfab6 | |
parent | c5a58c018e5a8207bd39a63aedcd8ef206c9d8ab (diff) | |
download | fetchmail-ae8090aa44620da8f6321a0ffac7b663d1429b7f.tar.gz fetchmail-ae8090aa44620da8f6321a0ffac7b663d1429b7f.tar.bz2 fetchmail-ae8090aa44620da8f6321a0ffac7b663d1429b7f.zip |
Better error recovery in UIDL code.
svn path=/trunk/; revision=3315
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | driver.c | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,7 @@ (The `lines' figures total .c, .h, .l, and .y files under version control.) * SSL certificate options from Thomas Moestl <tmoestl@gmx.net>. +* Frantisek Brabec's patch for better UIDL error recovery. fetchmail-5.8.3 (Sat May 12 04:07:12 EDT 2001), 20502 lines: @@ -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? */ |