aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_long_header.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_long_header.c')
-rw-r--r--src/testcurl/test_long_header.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_long_header.c b/src/testcurl/test_long_header.c
index 7e5dc49c..80842622 100644
--- a/src/testcurl/test_long_header.c
+++ b/src/testcurl/test_long_header.c
@@ -147,7 +147,7 @@ testLongUrlGet ()
147 curl_easy_setopt (c, CURLOPT_PORT, (long)port); 147 curl_easy_setopt (c, CURLOPT_PORT, (long)port);
148 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 148 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
149 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 149 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
150 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 150 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L);
151 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); 151 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
152 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); 152 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
153 if (oneone) 153 if (oneone)
@@ -157,7 +157,7 @@ testLongUrlGet ()
157 /* NOTE: use of CONNECTTIMEOUT without also 157 /* NOTE: use of CONNECTTIMEOUT without also
158 setting NOSIGNAL results in really weird 158 setting NOSIGNAL results in really weird
159 crashes on my system! */ 159 crashes on my system! */
160 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 160 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L);
161 if (CURLE_OK == curl_easy_perform (c)) 161 if (CURLE_OK == curl_easy_perform (c))
162 { 162 {
163 curl_easy_cleanup (c); 163 curl_easy_cleanup (c);
@@ -241,7 +241,7 @@ testLongHeaderGet ()
241 curl_easy_setopt (c, CURLOPT_PORT, (long)port); 241 curl_easy_setopt (c, CURLOPT_PORT, (long)port);
242 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 242 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
243 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 243 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
244 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 244 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L);
245 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); 245 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
246 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); 246 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
247 if (oneone) 247 if (oneone)
@@ -251,7 +251,7 @@ testLongHeaderGet ()
251 /* NOTE: use of CONNECTTIMEOUT without also 251 /* NOTE: use of CONNECTTIMEOUT without also
252 setting NOSIGNAL results in really weird 252 setting NOSIGNAL results in really weird
253 crashes on my system! */ 253 crashes on my system! */
254 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 254 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L);
255 if (CURLE_OK == curl_easy_perform (c)) 255 if (CURLE_OK == curl_easy_perform (c))
256 { 256 {
257 curl_easy_cleanup (c); 257 curl_easy_cleanup (c);