diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-12-18 03:24:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-12-18 03:24:58 +0000 |
commit | 2f1b2a582eda2b8993771bfece902f696c4dd9c4 (patch) | |
tree | 95e070506ec24039c0a3ca9446de471df9239c23 /pop3.c | |
parent | fff83f3df76ebb49a18309de1c37d0988b0d2629 (diff) | |
download | fetchmail-2f1b2a582eda2b8993771bfece902f696c4dd9c4.tar.gz fetchmail-2f1b2a582eda2b8993771bfece902f696c4dd9c4.tar.bz2 fetchmail-2f1b2a582eda2b8993771bfece902f696c4dd9c4.zip |
Note that ID comparisons are caseblind.
svn path=/trunk/; revision=656
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -181,6 +181,8 @@ static int pop3_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp) else if (sscanf(buf, "%d %s", &num, id) == 2) { save_str(&ctl->newsaved, num, id); + + /* note: ID comparison is caseblind */ if (!str_in_list(&ctl->oldsaved, id)) (*newp)++; } @@ -231,6 +233,7 @@ static int pop3_is_old(FILE *sockfp, 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))); } |