aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_toolarge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_toolarge.c')
-rw-r--r--src/testcurl/test_toolarge.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/testcurl/test_toolarge.c b/src/testcurl/test_toolarge.c
index 7cbb1545..6f78d7ba 100644
--- a/src/testcurl/test_toolarge.c
+++ b/src/testcurl/test_toolarge.c
@@ -577,11 +577,10 @@ curlEasyInitForTest (const char *queryPath, const char *method,
577 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HEADERDATA, 577 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HEADERDATA,
578 hdr_chk_result)) || 578 hdr_chk_result)) ||
579 (CURLE_OK != curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L)) || 579 (CURLE_OK != curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L)) ||
580 ((oneone) ? 580 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION,
581 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 581 (oneone) ?
582 CURL_HTTP_VERSION_1_1)) : 582 CURL_HTTP_VERSION_1_1 :
583 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 583 CURL_HTTP_VERSION_1_0)))
584 CURL_HTTP_VERSION_1_0))))
585 libcurlErrorExitDesc ("curl_easy_setopt() failed"); 584 libcurlErrorExitDesc ("curl_easy_setopt() failed");
586 585
587 if (CURLE_OK != curl_easy_setopt (c, CURLOPT_CUSTOMREQUEST, method)) 586 if (CURLE_OK != curl_easy_setopt (c, CURLOPT_CUSTOMREQUEST, method))