From 7c0cbcf2f617b4a2a50d4242ad468dae01e9ce13 Mon Sep 17 00:00:00 2001 From: Sergei Nikulov Date: Fri, 9 Nov 2012 17:29:02 +0400 Subject: fixed Visual Studio 2010 compilation --- tests/libtest/libauthretry.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/libtest/libauthretry.c') 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; } -- cgit v1.2.3