aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-05 22:29:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-05 22:29:29 +0000
commitb60e0fa97ed7ddc66d0ad6d00dfd78319bb6ad36 (patch)
tree50a5aed5fe1754b59f331e8c4337c8301121e1c7 /tests
parent41c6f68d949bf6021fbf4d3488bbf38efa898816 (diff)
David J Meyer's large file support.
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib505.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib505.c b/tests/libtest/lib505.c
index 6945598c1..0efaf76cc 100644
--- a/tests/libtest/lib505.c
+++ b/tests/libtest/lib505.c
@@ -92,8 +92,8 @@ CURLcode test(char *URL)
curl_easy_setopt(curl, CURLOPT_INFILE, hd_src);
/* and give the size of the upload (optional) */
- curl_easy_setopt(curl, CURLOPT_INFILESIZE,
- (long)file_info.st_size);
+ curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE,
+ file_info.st_size);
/* Now run off and do what you've been told! */
res = curl_easy_perform(curl);