mirror of
https://github.com/curl/curl.git
synced 2026-06-07 07:44:15 +03:00
CURLOPT_IPRESOLVE.md: re-add a long cast for man page
This commit is contained in:
parent
6770ab7c14
commit
0644168470
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/foo.bin");
|
||||
|
||||
/* of all addresses example.com resolves to, only IPv6 ones are used */
|
||||
curl_easy_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6);
|
||||
curl_easy_setopt(curl, CURLOPT_IPRESOLVE, (long)CURL_IPRESOLVE_V6);
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue