mirror of
https://github.com/curl/curl.git
synced 2026-06-07 23:44:48 +03:00
drop cast for CURLAUTH_ANY 3 docs (sync with other doc, rest of code)
This commit is contained in:
parent
b7c2eb8bf6
commit
7c3b4ecaad
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ int main(void)
|
|||
CURLcode ret;
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
|
||||
/* allow whatever auth the server speaks */
|
||||
curl_easy_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_ANY);
|
||||
curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
|
||||
curl_easy_setopt(curl, CURLOPT_USERPWD, "james:bond");
|
||||
ret = curl_easy_perform(curl);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue