Skip to content
Snippets Groups Projects
Commit ec520cee authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

bad HAVE_STRICMP usage found by Bjrn Stenberg

parent a374925b
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ int strequal(const char *first, const char *second)
#elif defined(HAVE_STRCMPI)
return !strcmpi(first, second);
#elif defined(HAVE_STRICMP)
return !strcmpi(first, second);
return !stricmp(first, second);
#else
while (*first && *second) {
if (toupper(*first) != toupper(*second)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment