diff options
Diffstat (limited to 'tests/libtest/lib510.c')
-rw-r--r-- | tests/libtest/lib510.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib510.c b/tests/libtest/lib510.c index 8278631c1..c60b2caf6 100644 --- a/tests/libtest/lib510.c +++ b/tests/libtest/lib510.c @@ -97,7 +97,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); |