Commit 9cff7169 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 4c207a00
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);