1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-12 04:25:08 -05:00

Fix the libauthretry changes from 7c0cbcf2f6

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)
return CURLAUTH_NONE;
if (strequal(arg, "basic") == 0)
if (strequal(arg, "basic"))
return CURLAUTH_BASIC;
if (strequal(arg, "digest") == 0)
if (strequal(arg, "digest"))
return CURLAUTH_DIGEST;
if (strequal(arg, "ntlm") == 0)
if (strequal(arg, "ntlm"))
return CURLAUTH_NTLM;
return CURLAUTH_NONE;
}