diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-04-14 22:11:42 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-04-14 22:11:42 +0000 |
commit | 238be5fcbe69551a287af757522595a3f9642317 (patch) | |
tree | 4063b77f22bf3fc490aee3d11fb56937a0e62e90 /pop3.c | |
parent | e28b5c24dd820c6b31878e3aa88f3cc433bc443a (diff) | |
download | fetchmail-238be5fcbe69551a287af757522595a3f9642317.tar.gz fetchmail-238be5fcbe69551a287af757522595a3f9642317.tar.bz2 fetchmail-238be5fcbe69551a287af757522595a3f9642317.zip |
Eliminate caseblinding of UID comparisons.
svn path=/trunk/; revision=1736
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -435,8 +435,7 @@ static int pop3_getrange(int sock, new = save_str(&ctl->newsaved, id, UID_UNSEEN); new->val.status.num = num; - /* note: ID comparison is caseblind */ - if (str_in_list(&ctl->oldsaved, id)) { + if (str_in_list(&ctl->oldsaved, id, FALSE)) { new->val.status.mark = UID_SEEN; str_set_mark(&ctl->oldsaved, id, UID_SEEN); } @@ -484,9 +483,8 @@ static int pop3_is_old(int sock, struct query *ctl, int num) if (!ctl->oldsaved) return (num <= last); else - /* note: ID comparison is caseblind */ return (str_in_list(&ctl->oldsaved, - str_find (&ctl->newsaved, num))); + str_find(&ctl->newsaved, num), FALSE)); } #ifdef UNUSED |