aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/libauthretry.c
diff options
context:
space:
mode:
authorSergei Nikulov <sergey.nikulov@gmail.com>2012-11-09 17:29:02 +0400
committerDaniel Stenberg <daniel@haxx.se>2012-11-13 11:17:20 +0100
commit7c0cbcf2f617b4a2a50d4242ad468dae01e9ce13 (patch)
tree5d90d838e120d01aa55013b1c42436eea0b29d9f /tests/libtest/libauthretry.c
parent076e1fa3486225aaec50e091784cd2f74cbcff5d (diff)
fixed Visual Studio 2010 compilation
Diffstat (limited to 'tests/libtest/libauthretry.c')
-rw-r--r--tests/libtest/libauthretry.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/libtest/libauthretry.c b/tests/libtest/libauthretry.c
index 78b2775f9..b7d36fe1a 100644
--- a/tests/libtest/libauthretry.c
+++ b/tests/libtest/libauthretry.c
@@ -25,7 +25,7 @@
*/
#include "test.h"
-
+#include "strequal.h"
#include "memdebug.h"
static int send_request(CURL *curl, const char *url, int seq,
@@ -72,11 +72,11 @@ static long parse_auth_name(const char *arg)
{
if (!arg)
return CURLAUTH_NONE;
- if (strcasecmp(arg, "basic") == 0)
+ if (strequal(arg, "basic") == 0)
return CURLAUTH_BASIC;
- if (strcasecmp(arg, "digest") == 0)
+ if (strequal(arg, "digest") == 0)
return CURLAUTH_DIGEST;
- if (strcasecmp(arg, "ntlm") == 0)
+ if (strequal(arg, "ntlm") == 0)
return CURLAUTH_NTLM;
return CURLAUTH_NONE;
}