1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

don't set READDATA since it isn't used and only confuses readers

This commit is contained in:
Daniel Stenberg 2009-07-22 22:08:01 +00:00
parent 4c207a004c
commit 9cff716925

View File

@ -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);