aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-03-17 18:03:58 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-03-17 18:03:58 +0000
commit93aa31ffc1624a9bc6a985a4c5679bac2ceb5e9a (patch)
treea17a957c8dacfa6cc33e5ac187bb5a36df1261a6 /pop3.c
parenta09d628f66a29063ef3060c1f25b1b23051a7e89 (diff)
downloadfetchmail-93aa31ffc1624a9bc6a985a4c5679bac2ceb5e9a.tar.gz
fetchmail-93aa31ffc1624a9bc6a985a4c5679bac2ceb5e9a.tar.bz2
fetchmail-93aa31ffc1624a9bc6a985a4c5679bac2ceb5e9a.zip
Dick van den Burg's patch.
svn path=/trunk/; revision=1705
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)++;
}