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 0a7c35d..4b62e92 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);