Fix the libauthretry changes from 7c0cbcf2f61

They broke the NTLM tests from 2023 to 2031.
This commit is contained in:
Fabian Keil 2012-11-16 19:22:12 +01:00 committed by Daniel Stenberg
parent 0ac827848d
commit 32afaaef93

View File

@ -72,11 +72,11 @@ static long parse_auth_name(const char *arg)
{ {
if (!arg) if (!arg)
return CURLAUTH_NONE; return CURLAUTH_NONE;
if (strequal(arg, "basic") == 0) if (strequal(arg, "basic"))
return CURLAUTH_BASIC; return CURLAUTH_BASIC;
if (strequal(arg, "digest") == 0) if (strequal(arg, "digest"))
return CURLAUTH_DIGEST; return CURLAUTH_DIGEST;
if (strequal(arg, "ntlm") == 0) if (strequal(arg, "ntlm"))
return CURLAUTH_NTLM; return CURLAUTH_NTLM;
return CURLAUTH_NONE; return CURLAUTH_NONE;
} }