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

@@ -30,9 +30,9 @@ static void init(CURLM *cm, const char* url, const char* userpwd,
curl_easy_setopt(eh, CURLOPT_URL, url);
curl_easy_setopt(eh, CURLOPT_PROXY, PROXY);
curl_easy_setopt(eh, CURLOPT_PROXYUSERPWD, userpwd);
curl_easy_setopt(eh, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
curl_easy_setopt(eh, CURLOPT_VERBOSE, 1);
curl_easy_setopt(eh, CURLOPT_HEADER, 1);
curl_easy_setopt(eh, CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY);
curl_easy_setopt(eh, CURLOPT_VERBOSE, 1L);
curl_easy_setopt(eh, CURLOPT_HEADER, 1L);
curl_easy_setopt(eh, CURLOPT_HTTPHEADER, headers); /* custom Host: */
curl_multi_add_handle(cm, eh);