From 9cff716925d8501992a10f09a53d4ad3ed3d919f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 22 Jul 2009 22:08:01 +0000 Subject: don't set READDATA since it isn't used and only confuses readers --- tests/libtest/lib554.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/libtest') 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); -- cgit v1.2.3