diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-05-22 21:49:52 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-05-22 21:49:52 +0000 |
commit | d31da176eb622fb386a3b657d17921403f95e45c (patch) | |
tree | bccca4b3670b442a73cde9ffd468357c290ed9a7 /tests/libtest/lib540.c | |
parent | e664cd5826d43930fcc5b5dbaedbec94af33184b (diff) |
Made sure to pass longs in to curl_easy_setopt where necessary in the
libtest code.
Diffstat (limited to 'tests/libtest/lib540.c')
-rw-r--r-- | tests/libtest/lib540.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/lib540.c b/tests/libtest/lib540.c index 4560eb815..089fcd5cb 100644 --- a/tests/libtest/lib540.c +++ b/tests/libtest/lib540.c @@ -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); |