mirror of
https://github.com/curl/curl.git
synced 2026-07-29 23:28:08 +03:00
use the newer option names
This commit is contained in:
parent
7e3cd82b50
commit
f68219ddaa
7 changed files with 7 additions and 7 deletions
|
|
@ -60,7 +60,7 @@ int main(int argc, char **argv)
|
|||
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteMemoryCallback);
|
||||
|
||||
/* we pass our 'chunk' struct to the callback function */
|
||||
curl_easy_setopt(curl_handle, CURLOPT_FILE, (void *)&chunk);
|
||||
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk);
|
||||
|
||||
/* get it! */
|
||||
curl_easy_perform(curl_handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue