test1531: case the size to fix the test on non-largefile builds
This commit is contained in:
Родитель
14d5a86b3e
Коммит
854976ad7b
|
@ -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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче