aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib508.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib508.c')
-rw-r--r--tests/libtest/lib508.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib508.c b/tests/libtest/lib508.c
index 1aca064e9..7f3730920 100644
--- a/tests/libtest/lib508.c
+++ b/tests/libtest/lib508.c
@@ -86,7 +86,7 @@ int test(char *URL)
test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
/* pointer to pass to our read function */
- test_setopt(curl, CURLOPT_INFILE, &pooh);
+ test_setopt(curl, CURLOPT_READDATA, &pooh);
/* get verbose debug output please */
test_setopt(curl, CURLOPT_VERBOSE, 1L);