mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
bad HAVE_STRICMP usage found by Bjrn Stenberg
This commit is contained in:
parent
a374925bb7
commit
ec520ceefd
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user