aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-04-14 22:11:42 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-04-14 22:11:42 +0000
commit238be5fcbe69551a287af757522595a3f9642317 (patch)
tree4063b77f22bf3fc490aee3d11fb56937a0e62e90 /pop3.c
parente28b5c24dd820c6b31878e3aa88f3cc433bc443a (diff)
downloadfetchmail-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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pop3.c b/pop3.c
index ffcb6469..6a63779d 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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