aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-05-14 07:08:22 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-05-14 07:08:22 +0000
commitae8090aa44620da8f6321a0ffac7b663d1429b7f (patch)
treec6f59d52047e5b57c551acb7d279fd6967ecfab6 /driver.c
parentc5a58c018e5a8207bd39a63aedcd8ef206c9d8ab (diff)
downloadfetchmail-ae8090aa44620da8f6321a0ffac7b663d1429b7f.tar.gz
fetchmail-ae8090aa44620da8f6321a0ffac7b663d1429b7f.tar.bz2
fetchmail-ae8090aa44620da8f6321a0ffac7b663d1429b7f.zip
Better error recovery in UIDL code.
svn path=/trunk/; revision=3315
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c5
1 files changed, 4 insertions, 1 deletions
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? */