aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_urlparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_urlparse.c')
-rw-r--r--src/testcurl/test_urlparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/test_urlparse.c b/src/testcurl/test_urlparse.c
index 9d2d8517..d7c133ae 100644
--- a/src/testcurl/test_urlparse.c
+++ b/src/testcurl/test_urlparse.c
@@ -164,7 +164,7 @@ testInternalGet (int poll_flag)
164 curl_easy_setopt (c, CURLOPT_PORT, (long)port); 164 curl_easy_setopt (c, CURLOPT_PORT, (long)port);
165 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 165 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
166 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 166 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
167 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 167 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L);
168 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); 168 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
169 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); 169 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
170 if (oneone) 170 if (oneone)
@@ -174,7 +174,7 @@ testInternalGet (int poll_flag)
174 /* NOTE: use of CONNECTTIMEOUT without also 174 /* NOTE: use of CONNECTTIMEOUT without also
175 setting NOSIGNAL results in really weird 175 setting NOSIGNAL results in really weird
176 crashes on my system!*/ 176 crashes on my system!*/
177 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 177 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L);
178 if (CURLE_OK != (errornum = curl_easy_perform (c))) 178 if (CURLE_OK != (errornum = curl_easy_perform (c)))
179 { 179 {
180 fprintf (stderr, 180 fprintf (stderr,