aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-10 21:45:42 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-10 21:45:42 +0000
commit6e539dabb45ba4066f2bfbfa652b8bf375e8358e (patch)
tree533dd3834996672cf33b0ce0b9d65b2ee3f3b4c5 /driver.c
parent473437ebe5a57fc2d4bfd782ecc004394f339033 (diff)
downloadfetchmail-6e539dabb45ba4066f2bfbfa652b8bf375e8358e.tar.gz
fetchmail-6e539dabb45ba4066f2bfbfa652b8bf375e8358e.tar.bz2
fetchmail-6e539dabb45ba4066f2bfbfa652b8bf375e8358e.zip
UIDs, phase 2.
svn path=/trunk/; revision=287
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 4a18403f..cfe4e8eb 100644
--- a/driver.c
+++ b/driver.c
@@ -712,9 +712,13 @@ struct method *proto;
* on a protocol error or had delivery refused by the SMTP
* server (unlikely -- I've never seen it) or we've seen
* `accepted for delivery' and the message is shipped.
- * It's safe to delete the message on the server now.
+ * It's safe to mark the message seen and delete it on the
+ * 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