summaryrefslogtreecommitdiff
path: root/tests/libtest/lib508.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-06-18 01:17:23 +0200
committerDan Fandrich <dan@coneharvesters.com>2014-06-18 01:17:23 +0200
commita6d666e1a6c6476362072e3879d51491ac1d1a62 (patch)
treef0d5767d9e140fd6e029a32284db889368db1aa8 /tests/libtest/lib508.c
parent455bfedc849256282ef28d527381d6f66b762af2 (diff)
downloadcurl-a6d666e1a6c6476362072e3879d51491ac1d1a62.tar.gz
tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE
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);