From 09c71fc5f95d04e2b42cff0d112f97bd924a2afd Mon Sep 17 00:00:00 2001 From: dboyz Date: Wed, 20 May 2015 00:42:32 +0800 Subject: [PATCH] Make auth_findtype case insensitive --- src/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.c b/src/auth.c index 75e29ccd7..cc48f5107 100644 --- a/src/auth.c +++ b/src/auth.c @@ -70,7 +70,7 @@ int Auth_FindType(char *type) while (p->data) { - if (!strcmp(p->data, type)) + if (!mycmp(p->data, type)) return p->type; p++; }