aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-07-22 22:08:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-07-22 22:08:01 +0000
commit9cff716925d8501992a10f09a53d4ad3ed3d919f (patch)
tree711a98f4ffeee60ea1b44a0cec0d2ab10a81716f
parent4c207a004cce51e0dcd11c42eda514bd1587e8b2 (diff)
don't set READDATA since it isn't used and only confuses readers
-rw-r--r--tests/libtest/lib554.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/libtest/lib554.c b/tests/libtest/lib554.c
index 0a7c35d54..4b62e927d 100644
--- a/tests/libtest/lib554.c
+++ b/tests/libtest/lib554.c
@@ -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);