mirror of
https://github.com/curl/curl.git
synced 2026-06-07 07:54:16 +03:00
drop cast for CURLAUTH_BASIC in docs
This commit is contained in:
parent
ac755f5669
commit
af982387a2
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_PROXY, "socks5://user:pass@myproxy.com");
|
||||
|
||||
/* enable username/password authentication only */
|
||||
curl_easy_setopt(curl, CURLOPT_SOCKS5_AUTH, (long)CURLAUTH_BASIC);
|
||||
curl_easy_setopt(curl, CURLOPT_SOCKS5_AUTH, CURLAUTH_BASIC);
|
||||
|
||||
/* Perform the request */
|
||||
curl_easy_perform(curl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue