diff options
author | Sergei Nikulov <sergey.nikulov@gmail.com> | 2012-11-09 17:29:02 +0400 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-11-13 11:17:20 +0100 |
commit | 7c0cbcf2f617b4a2a50d4242ad468dae01e9ce13 (patch) | |
tree | 5d90d838e120d01aa55013b1c42436eea0b29d9f /tests/libtest/libauthretry.c | |
parent | 076e1fa3486225aaec50e091784cd2f74cbcff5d (diff) |
fixed Visual Studio 2010 compilation
Diffstat (limited to 'tests/libtest/libauthretry.c')
-rw-r--r-- | tests/libtest/libauthretry.c | 8 |
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; } |