mirror of
https://github.com/curl/curl.git
synced 2026-06-07 13:54:19 +03:00
drop casts for CURLAUTH_ANY 1
This commit is contained in:
parent
331206475b
commit
107d3314d9
3 changed files with 3 additions and 3 deletions
|
|
@ -751,7 +751,7 @@ static CURLcode proxy_setopts(struct OperationConfig *config, CURL *curl)
|
|||
|
||||
/* new in libcurl 7.10.6 */
|
||||
if(config->proxyanyauth)
|
||||
my_setopt_bitmask(curl, CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY);
|
||||
my_setopt_bitmask(curl, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
|
||||
else if(config->proxynegotiate)
|
||||
my_setopt_bitmask(curl, CURLOPT_PROXYAUTH, CURLAUTH_GSSNEGOTIATE);
|
||||
else if(config->proxyntlm)
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ static CURLcode init(int num, CURLM *cm, const char *url, const char *userpwd,
|
|||
if(res)
|
||||
goto init_failed;
|
||||
|
||||
res_easy_setopt(testeh[num], CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY);
|
||||
res_easy_setopt(testeh[num], CURLOPT_PROXYAUTH, CURLAUTH_ANY);
|
||||
if(res)
|
||||
goto init_failed;
|
||||
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ static CURLcode test_lib552(char *URL)
|
|||
|
||||
/* Accept any auth. But for this bug configure proxy with DIGEST, basic
|
||||
might work too, not NTLM */
|
||||
test_setopt(curl, CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY);
|
||||
test_setopt(curl, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue