mirror of
https://github.com/curl/curl.git
synced 2026-07-24 12:27:16 +03:00
test1531: case the size to fix the test on non-largefile builds
This commit is contained in:
parent
14d5a86b3e
commit
854976ad7b
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ int test(char *URL)
|
|||
|
||||
/* set the options (I left out a few, you'll get the point anyway) */
|
||||
curl_easy_setopt(easy, CURLOPT_URL, URL);
|
||||
curl_easy_setopt(easy, CURLOPT_POSTFIELDSIZE_LARGE, testDataSize);
|
||||
curl_easy_setopt(easy, CURLOPT_POSTFIELDSIZE_LARGE, (curl_off_t)testDataSize);
|
||||
curl_easy_setopt(easy, CURLOPT_POSTFIELDS, testData);
|
||||
|
||||
/* we start some action by calling perform right away */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue