mirror of
https://github.com/curl/curl.git
synced 2026-07-23 15:27:18 +03:00
Fixed a surprising number of example programs that were passing int arguments
to curl_easy_setopt instead of long.
This commit is contained in:
parent
b8abeab6d3
commit
e664cd5826
28 changed files with 63 additions and 61 deletions
|
|
@ -106,8 +106,8 @@ static void *pull_one_url(void *url)
|
|||
curl_easy_setopt(curl, CURLOPT_URL, url);
|
||||
/* this example doesn't verify the server's certificate, which means we
|
||||
might be downloading stuff from an impostor */
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
curl_easy_perform(curl); /* ignores error */
|
||||
curl_easy_cleanup(curl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue