aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib505.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib505.c')
-rw-r--r--tests/libtest/lib505.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib505.c b/tests/libtest/lib505.c
index e9e20a879..9592e0fa9 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,