aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-10 22:11:36 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-10 22:11:36 +0000
commit3b86b66668ca47b1f439fb5f49e3f8078caf4a33 (patch)
tree1a79559624da526ea2cb94cb16623c6340854403 /driver.c
parent9eaa83099fdcaa492e2ec8df46f4eb81c9dd813d (diff)
downloadfetchmail-3b86b66668ca47b1f439fb5f49e3f8078caf4a33.tar.gz
fetchmail-3b86b66668ca47b1f439fb5f49e3f8078caf4a33.tar.bz2
fetchmail-3b86b66668ca47b1f439fb5f49e3f8078caf4a33.zip
UIDs, take 3.
svn path=/trunk/; revision=290
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/driver.c b/driver.c
index 6ed97e9f..e940ae29 100644
--- a/driver.c
+++ b/driver.c
@@ -716,9 +716,6 @@ struct method *proto;
* server now.
*/
- /* nuke it from the unseen-messages list */
- delete_uid(&queryctl->unseen, num);
-
/* maybe we delete this message now? */
if (protocol->delete
&& !queryctl->keep
@@ -732,7 +729,11 @@ struct method *proto;
goto cleanUp;
}
else if (outlevel > O_SILENT && outlevel < O_VERBOSE)
- fprintf(stderr, " not flushed\n", num);
+ {
+ /* nuke it from the unseen-messages list */
+ delete_uid(&queryctl->newsaved, num);
+ fprintf(stderr, " not flushed\n", num);
+ }
}
/* remove all messages flagged for deletion */