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:
parent
0ac827848d
commit
32afaaef93
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user