From b60e0fa97ed7ddc66d0ad6d00dfd78319bb6ad36 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 5 Jan 2004 22:29:29 +0000 Subject: David J Meyer's large file support. --- tests/libtest/lib505.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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); -- cgit v1.2.3