aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib579.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib579.c')
-rw-r--r--tests/libtest/lib579.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib579.c b/tests/libtest/lib579.c
index c5cf603bb..0e8bd2f15 100644
--- a/tests/libtest/lib579.c
+++ b/tests/libtest/lib579.c
@@ -126,7 +126,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);