]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Case insensitive lookups for mechanism names
authorTimo Sirainen <tss@iki.fi>
Sun, 30 May 2004 01:40:30 +0000 (04:40 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 30 May 2004 01:40:30 +0000 (04:40 +0300)
--HG--
branch : HEAD

src/auth/mech.c

index f8b11b23002c90b92a66ae593aae0c6feb4b804e..a29713ad4f5c57fbaa98079294fa999fe226d1cd 100644 (file)
@@ -64,7 +64,7 @@ static struct mech_module *mech_module_find(const char *name)
        struct mech_module_list *list;
 
        for (list = mech_modules; list != NULL; list = list->next) {
-               if (strcmp(list->module.mech_name, name) == 0)
+               if (strcasecmp(list->module.mech_name, name) == 0)
                        return &list->module;
        }
        return NULL;