mirror of
https://github.com/curl/curl.git
synced 2026-07-31 23:38:02 +03:00
bad HAVE_STRICMP usage found by Bjrn Stenberg
This commit is contained in:
parent
a374925bb7
commit
ec520ceefd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue