diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-06-18 01:17:23 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2014-06-18 01:17:23 +0200 |
commit | a6d666e1a6c6476362072e3879d51491ac1d1a62 (patch) | |
tree | f0d5767d9e140fd6e029a32284db889368db1aa8 /tests/libtest/lib541.c | |
parent | 455bfedc849256282ef28d527381d6f66b762af2 (diff) |
tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE
Diffstat (limited to 'tests/libtest/lib541.c')
-rw-r--r-- | tests/libtest/lib541.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib541.c b/tests/libtest/lib541.c index 3318b9b8b..6015d2f06 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); |