mirror of
https://github.com/curl/curl.git
synced 2026-07-27 16:28:59 +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
|
|
@ -236,7 +236,7 @@ url_fopen(char *url,const char *operation)
|
|||
file->handle.curl = curl_easy_init();
|
||||
|
||||
curl_easy_setopt(file->handle.curl, CURLOPT_URL, url);
|
||||
curl_easy_setopt(file->handle.curl, CURLOPT_FILE, file);
|
||||
curl_easy_setopt(file->handle.curl, CURLOPT_WRITEDATA, file);
|
||||
curl_easy_setopt(file->handle.curl, CURLOPT_VERBOSE, FALSE);
|
||||
curl_easy_setopt(file->handle.curl, CURLOPT_WRITEFUNCTION, write_callback);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue