mirror of
https://github.com/curl/curl.git
synced 2026-07-26 11:27:16 +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
|
|
@ -74,7 +74,7 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback);
|
||||
|
||||
/* pointer to pass to our read function */
|
||||
curl_easy_setopt(curl, CURLOPT_INFILE, &pooh);
|
||||
curl_easy_setopt(curl, CURLOPT_READDATA, &pooh);
|
||||
|
||||
/* get verbose debug output please */
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue