]> granicus.if.org Git - curl/commitdiff
don't set READDATA since it isn't used and only confuses readers
authorDaniel Stenberg <daniel@haxx.se>
Wed, 22 Jul 2009 22:08:01 +0000 (22:08 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 22 Jul 2009 22:08:01 +0000 (22:08 +0000)
tests/libtest/lib554.c

index 0a7c35d54a1c811009e78a52753d0100e64fcad4..4b62e927d3676a63c92610375d4d1e360e12bac0 100644 (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);