diff options
Diffstat (limited to 'src/testcurl/test_tricky.c')
-rw-r--r-- | src/testcurl/test_tricky.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/testcurl/test_tricky.c b/src/testcurl/test_tricky.c index b926884f..50af68a1 100644 --- a/src/testcurl/test_tricky.c +++ b/src/testcurl/test_tricky.c | |||
@@ -500,11 +500,10 @@ curlEasyInitForTest (struct curlQueryParams *p, | |||
500 | (long) 1)) || | 500 | (long) 1)) || |
501 | #endif /* CURL_AT_LEAST_VERSION(7, 42, 0) */ | 501 | #endif /* CURL_AT_LEAST_VERSION(7, 42, 0) */ |
502 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L)) || | 502 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L)) || |
503 | ((oneone) ? | 503 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, |
504 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, | 504 | (oneone) ? |
505 | CURL_HTTP_VERSION_1_1)) : | 505 | CURL_HTTP_VERSION_1_1 : |
506 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, | 506 | CURL_HTTP_VERSION_1_0))) |
507 | CURL_HTTP_VERSION_1_0)))) | ||
508 | libcurlErrorExitDesc ("curl_easy_setopt() failed"); | 507 | libcurlErrorExitDesc ("curl_easy_setopt() failed"); |
509 | 508 | ||
510 | if (CURLE_OK != curl_easy_setopt (c, CURLOPT_CUSTOMREQUEST, p->method)) | 509 | if (CURLE_OK != curl_easy_setopt (c, CURLOPT_CUSTOMREQUEST, p->method)) |