Made sure to pass longs in to curl_easy_setopt where necessary in the

libtest code.
This commit is contained in:
Dan Fandrich
2008-05-22 21:49:52 +00:00
parent e664cd5826
commit d31da176eb
36 changed files with 92 additions and 88 deletions

View File

@@ -52,8 +52,8 @@ int test(char *URL)
curl_easy_setopt(c, CURLOPT_URL, URL);
curl_easy_setopt(c, CURLOPT_USERPWD, "test:ing");
curl_easy_setopt(c, CURLOPT_PROXYUSERPWD, "test:ing");
curl_easy_setopt(c, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_easy_setopt(c, CURLOPT_HEADER, 1);
curl_easy_setopt(c, CURLOPT_HTTPPROXYTUNNEL, 1L);
curl_easy_setopt(c, CURLOPT_HEADER, 1L);
if ((m = curl_multi_init()) == NULL) {
fprintf(stderr, "curl_multi_init() failed\n");