]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
bad HAVE_STRICMP usage found by Björn Stenberg
authorDaniel Stenberg <daniel@haxx.se>
Wed, 14 Jun 2000 14:26:20 +0000 (14:26 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 14 Jun 2000 14:26:20 +0000 (14:26 +0000)
lib/strequal.c

index e40e06e97a32debe4f716045beca5cb72ae3fb91..87dbc5d866ee011795b8246a843466693e8eca17 100644 (file)
@@ -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)) {