diff options
Diffstat (limited to 'src/testcurl/test_add_conn.c')
-rw-r--r-- | src/testcurl/test_add_conn.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/testcurl/test_add_conn.c b/src/testcurl/test_add_conn.c index 49e2c9a9..746ecbaf 100644 --- a/src/testcurl/test_add_conn.c +++ b/src/testcurl/test_add_conn.c | |||
@@ -446,11 +446,10 @@ curlEasyInitForTest (const char *queryPath, int port, struct CBC *pcbc) | |||
446 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT, | 446 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT, |
447 | (long) response_timeout_val)) || | 447 | (long) response_timeout_val)) || |
448 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L)) || | 448 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L)) || |
449 | ((oneone) ? | 449 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, |
450 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, | 450 | (oneone) ? |
451 | CURL_HTTP_VERSION_1_1)) : | 451 | CURL_HTTP_VERSION_1_1 : |
452 | (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, | 452 | CURL_HTTP_VERSION_1_0))) |
453 | CURL_HTTP_VERSION_1_0)))) | ||
454 | { | 453 | { |
455 | fprintf (stderr, "curl_easy_setopt() failed.\n"); | 454 | fprintf (stderr, "curl_easy_setopt() failed.\n"); |
456 | _exit (99); | 455 | _exit (99); |