diff options
Diffstat (limited to 'src/testcurl/https/tls_test_common.c')
-rw-r--r-- | src/testcurl/https/tls_test_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/https/tls_test_common.c b/src/testcurl/https/tls_test_common.c index 63a79f59..51d20cce 100644 --- a/src/testcurl/https/tls_test_common.c +++ b/src/testcurl/https/tls_test_common.c | |||
@@ -70,7 +70,7 @@ test_daemon_get (void *cls, | |||
70 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 10L))) || | 70 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 10L))) || |
71 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, | 71 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, |
72 | ©Buffer))) || | 72 | ©Buffer))) || |
73 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_FILE, &cbc))) || | 73 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc))) || |
74 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L))) || | 74 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L))) || |
75 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L)))) | 75 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L)))) |
76 | { | 76 | { |
@@ -269,7 +269,7 @@ send_curl_req (char *url, | |||
269 | { | 269 | { |
270 | if ((CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, | 270 | if ((CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, |
271 | ©Buffer))) || | 271 | ©Buffer))) || |
272 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_FILE, cbc)))) | 272 | (CURLE_OK != (e = curl_easy_setopt (c, CURLOPT_WRITEDATA, cbc)))) |
273 | { | 273 | { |
274 | fprintf (stderr, "curl_easy_setopt failed: `%s'\n", | 274 | fprintf (stderr, "curl_easy_setopt failed: `%s'\n", |
275 | curl_easy_strerror (e)); | 275 | curl_easy_strerror (e)); |