aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-17 22:58:54 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-17 22:58:54 +0000
commit38528f8329458e9faf675677bc7a2e4524af3aa4 (patch)
tree0508254c0a10dd52d2773e36b648071ab6258192 /driver.c
parent2087cffd2b5bb197d12c2195ad1c054797abfdd1 (diff)
downloadfetchmail-38528f8329458e9faf675677bc7a2e4524af3aa4.tar.gz
fetchmail-38528f8329458e9faf675677bc7a2e4524af3aa4.tar.bz2
fetchmail-38528f8329458e9faf675677bc7a2e4524af3aa4.zip
Fix bad UID/fetchlimit interaction.
svn path=/trunk/; revision=1645
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index cdfa866d..7afe9d3d 100644
--- a/driver.c
+++ b/driver.c
@@ -2069,6 +2069,12 @@ const struct method *proto; /* protocol method table */
* now.
*/
+ /* tell the UID code we've seen this */
+ if (ctl->newsaved)
+ for (idp = ctl->newsaved; idp; idp = idp->next)
+ if (idp->val.num == num)
+ MARK_SEEN(idp->val.num);
+
/* maybe we delete this message now? */
if (retained)
{