diff --git a/tests/libtest/lib505.c b/tests/libtest/lib505.c index e9e20a8794bd64d75f627c6cb012a9602d86e697..9592e0fa946438c14bd9252e5ac5f13cc1e44713 100644 --- a/tests/libtest/lib505.c +++ b/tests/libtest/lib505.c @@ -126,7 +126,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_POSTQUOTE, headerlist); /* now specify which file to upload */ - test_setopt(curl, CURLOPT_INFILE, hd_src); + test_setopt(curl, CURLOPT_READDATA, hd_src); /* and give the size of the upload (optional) */ test_setopt(curl, CURLOPT_INFILESIZE_LARGE, diff --git a/tests/libtest/lib508.c b/tests/libtest/lib508.c index 1aca064e9bc45ef7e4d0c2b08be8ab85e354575f..7f37309207478963078df489d352c0cb712d619c 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); diff --git a/tests/libtest/lib510.c b/tests/libtest/lib510.c index 8278631c13602f75788525a893cbf8ef9d2d8c66..c60b2caf619769e50ae72bcb845c5061e38b88b8 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); diff --git a/tests/libtest/lib513.c b/tests/libtest/lib513.c index c013ac258acf056d730b98a627920e84556193fe..7aab3b1c8dc40e22652a59872dfd46f781c6d676 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); diff --git a/tests/libtest/lib541.c b/tests/libtest/lib541.c index 3318b9b8b67979377d6058ff77f334e4dce8f704..6015d2f06a6c6c75a0d0de55b654bd0448366cb5 100644 --- a/tests/libtest/lib541.c +++ b/tests/libtest/lib541.c @@ -96,7 +96,7 @@ int test(char *URL) test_setopt(curl,CURLOPT_URL, URL); /* now specify which file to upload */ - test_setopt(curl, CURLOPT_INFILE, hd_src); + test_setopt(curl, CURLOPT_READDATA, hd_src); /* Now run off and do what you've been told! */ res = curl_easy_perform(curl); diff --git a/tests/libtest/lib579.c b/tests/libtest/lib579.c index c5cf603bbf0ba14d0b2145067d88621415ccd774..0e8bd2f15326dd057d3bffd60ecbaedc2ea519dc 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);