aboutsummaryrefslogtreecommitdiff
path: root/lib/strequal.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-06-14 14:26:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-06-14 14:26:20 +0000
commitec520ceefd73391926dac1661c440c9a3138adc1 (patch)
treebdeda19b3fa3db1452c29cbc82d2f3bc62e96d16 /lib/strequal.c
parenta374925bb7be8d41222b1f8ee05bf2bad16a51ec (diff)
bad HAVE_STRICMP usage found by Björn Stenberg
Diffstat (limited to 'lib/strequal.c')
-rw-r--r--lib/strequal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strequal.c b/lib/strequal.c
index e40e06e97..87dbc5d86 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)) {