Mercurial > dovecot > core-2.2
changeset 2081:3c0fb1a4a379 HEAD
Case insensitive lookups for mechanism names
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 30 May 2004 04:40:30 +0300 |
parents | cf8c711f76a0 |
children | e22e3827a5f3 |
files | src/auth/mech.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/mech.c Sun May 30 04:39:58 2004 +0300 +++ b/src/auth/mech.c Sun May 30 04:40:30 2004 +0300 @@ -64,7 +64,7 @@ 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;