From: Daniel Stenberg Date: Wed, 14 Jun 2000 14:26:20 +0000 (+0000) Subject: bad HAVE_STRICMP usage found by Björn Stenberg X-Git-Tag: curl-7_1_1~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec520ceefd73391926dac1661c440c9a3138adc1;p=thirdparty%2Fcurl.git bad HAVE_STRICMP usage found by Björn Stenberg --- diff --git a/lib/strequal.c b/lib/strequal.c index e40e06e97a..87dbc5d866 100644 --- a/lib/strequal.c +++ b/lib/strequal.c @@ -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)) {