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 /uid.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 'uid.c')
-rw-r--r-- | uid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -163,11 +163,11 @@ void free_str_pair_list(struct idlist **idl) #endif int str_in_list(struct idlist **idl, const char *str) -/* is a given ID in the given list? */ +/* is a given ID in the given list? (comparison is caseblind) */ { if (*idl == (struct idlist *)NULL || str == (char *) NULL) return(0); - else if (strcmp(str, (*idl)->id) == 0) + else if (strcasecmp(str, (*idl)->id) == 0) return(1); else return(str_in_list(&(*idl)->next, str)); |