aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 1634755b..b03efdff 100644
--- a/pop3.c
+++ b/pop3.c
@@ -433,8 +433,10 @@ static int pop3_getrange(int sock,
new->val.status.num = num;
/* note: ID comparison is caseblind */
- if (str_in_list(&ctl->oldsaved, id))
+ if (str_in_list(&ctl->oldsaved, id)) {
new->val.status.mark = UID_SEEN;
+ str_set_mark(&ctl->oldsaved, id, UID_SEEN);
+ }
else
(*newp)++;
}