diff options
Diffstat (limited to 'src/testcurl/test_quiesce.c')
-rw-r--r-- | src/testcurl/test_quiesce.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/testcurl/test_quiesce.c b/src/testcurl/test_quiesce.c index 1e0eb0c4..f9bca831 100644 --- a/src/testcurl/test_quiesce.c +++ b/src/testcurl/test_quiesce.c | |||
@@ -331,11 +331,10 @@ setupCURL (void *cbc) | |||
331 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_ERRORBUFFER, | 331 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_ERRORBUFFER, |
332 | libcurl_errbuf)) || | 332 | libcurl_errbuf)) || |
333 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L)) || | 333 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L)) || |
334 | ((oneone) ? | 334 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, |
335 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, | 335 | (oneone) ? |
336 | CURL_HTTP_VERSION_1_1)) : | 336 | CURL_HTTP_VERSION_1_1 : |
337 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, | 337 | CURL_HTTP_VERSION_1_0))) |
338 | CURL_HTTP_VERSION_1_0)))) | ||
339 | libcurlErrorExitDesc ("curl_easy_setopt() failed"); | 338 | libcurlErrorExitDesc ("curl_easy_setopt() failed"); |
340 | return c; | 339 | return c; |
341 | } | 340 | } |