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