aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-04 06:07:16 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-04 06:07:16 +0000
commit36c8204ae4c5abf228f75c58026edf40706d8e6d (patch)
tree0532b891dee26be2fc400c87e1e41729de137aef
parent4b157775734d3e2990927bf53491cb3956ce3eb3 (diff)
downloadfetchmail-36c8204ae4c5abf228f75c58026edf40706d8e6d.tar.gz
fetchmail-36c8204ae4c5abf228f75c58026edf40706d8e6d.tar.bz2
fetchmail-36c8204ae4c5abf228f75c58026edf40706d8e6d.zip
Fix incorrect deletion location.
svn path=/trunk/; revision=474
-rw-r--r--driver.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/driver.c b/driver.c
index 1c8408e1..30985b4e 100644
--- a/driver.c
+++ b/driver.c
@@ -1016,13 +1016,10 @@ const struct method *proto; /* protocol method table */
vtalarm(ctl->timeout);
if (ok != 0)
goto cleanUp;
+ delete_uid(&ctl->newsaved, num);
}
else if (outlevel > O_SILENT)
- {
- /* nuke it from the unseen-messages list */
- delete_uid(&ctl->newsaved, num);
fprintf(stderr, " not flushed\n");
- }
}
/* remove all messages flagged for deletion */