missed strcaseeq added
authorTobias Brunner <tobias@strongswan.org>
Fri, 17 Apr 2009 10:52:41 +0000 (10:52 -0000)
committerTobias Brunner <tobias@strongswan.org>
Fri, 17 Apr 2009 10:52:41 +0000 (10:52 -0000)
src/charon/sa/authenticators/eap/eap_method.c

index 493ce3a..f814695 100644 (file)
@@ -58,7 +58,7 @@ eap_type_t eap_type_from_string(char *name)
        
        for (i = 0; i < countof(types); i++)
        {
-               if (strcasecmp(name, types[i].name))
+               if (strcaseeq(name, types[i].name))
                {
                        return types[i].type;
                }