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
1 changed files with 0 additions and 3 deletions

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