mirror of
https://github.com/curl/curl.git
synced 2026-08-01 20:40:28 +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
|
|
@ -66,7 +66,7 @@ int main(void)
|
|||
}
|
||||
|
||||
/* we want the headers be written to this file handle */
|
||||
curl_easy_setopt(curl_handle, CURLOPT_WRITEHEADER, headerfile);
|
||||
curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, headerfile);
|
||||
|
||||
/* we want the body be written to this file handle instead of stdout */
|
||||
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, bodyfile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue