aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uid.c b/uid.c
index 84f46267..f4e81a9f 100644
--- a/uid.c
+++ b/uid.c
@@ -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));