mirror of
https://github.com/curl/curl.git
synced 2026-07-23 02:17:21 +03:00
don't set READDATA since it isn't used and only confuses readers
This commit is contained in:
parent
4c207a004c
commit
9cff716925
1 changed files with 0 additions and 3 deletions
|
|
@ -126,9 +126,6 @@ int test(char *URL)
|
|||
/* we want to use our own read function */
|
||||
curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback);
|
||||
|
||||
/* pointer to pass to our read function */
|
||||
curl_easy_setopt(curl, CURLOPT_READDATA, &pooh);
|
||||
|
||||
/* send a multi-part formpost */
|
||||
curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue