mirror of
https://github.com/curl/curl.git
synced 2026-08-10 09:10:54 +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
|
|
@ -58,7 +58,7 @@ int main(void)
|
|||
/* If you intend to use this on windows with a libcurl DLL, you must use
|
||||
CURLOPT_WRITEFUNCTION as well */
|
||||
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, write_response);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEHEADER, respfile);
|
||||
curl_easy_setopt(curl, CURLOPT_HEADERDATA, respfile);
|
||||
res = curl_easy_perform(curl);
|
||||
/* Check for errors */
|
||||
if(res != CURLE_OK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue