diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-03-17 18:03:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-03-17 18:03:58 +0000 |
commit | 93aa31ffc1624a9bc6a985a4c5679bac2ceb5e9a (patch) | |
tree | a17a957c8dacfa6cc33e5ac187bb5a36df1261a6 /pop3.c | |
parent | a09d628f66a29063ef3060c1f25b1b23051a7e89 (diff) | |
download | fetchmail-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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)++; } |