mirror of
https://github.com/curl/curl.git
synced 2026-04-16 01:41:45 +03: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
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue