mirror of
https://github.com/curl/curl.git
synced 2026-08-06 01:26:14 +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
|
|
@ -58,7 +58,7 @@ int main(void)
|
|||
/* Define our callback to get called when there's data to be written */
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, my_fwrite);
|
||||
/* Set a pointer to our struct to pass to the callback */
|
||||
curl_easy_setopt(curl, CURLOPT_FILE, &ftpfile);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile);
|
||||
|
||||
/* Switch on full protocol/debug output */
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue