mirror of
https://github.com/curl/curl.git
synced 2026-08-07 02:39:06 +03:00
Update instances of some obsolete CURLOPTs to their new names
This commit is contained in:
parent
8ffe6f5b57
commit
3ae2b6cd7f
10 changed files with 12 additions and 13 deletions
|
|
@ -75,7 +75,7 @@ int main(void)
|
|||
if(curl) {
|
||||
/* what call to write: */
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "HTTPS://your.favourite.ssl.site");
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEHEADER, headerfile);
|
||||
curl_easy_setopt(curl, CURLOPT_HEADERDATA, headerfile);
|
||||
|
||||
for(i = 0; i < 1; i++) /* single-iteration loop, just to break out from */
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue