summaryrefslogtreecommitdiff
path: root/tests/libtest/lib525.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-05-22 21:49:52 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-05-22 21:49:52 +0000
commitd31da176eb622fb386a3b657d17921403f95e45c (patch)
treebccca4b3670b442a73cde9ffd468357c290ed9a7 /tests/libtest/lib525.c
parente664cd5826d43930fcc5b5dbaedbec94af33184b (diff)
downloadcurl-d31da176eb622fb386a3b657d17921403f95e45c.tar.gz
Made sure to pass longs in to curl_easy_setopt where necessary in the
libtest code.
Diffstat (limited to 'tests/libtest/lib525.c')
-rw-r--r--tests/libtest/lib525.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib525.c b/tests/libtest/lib525.c
index 222f8c278..154c209e3 100644
--- a/tests/libtest/lib525.c
+++ b/tests/libtest/lib525.c
@@ -71,13 +71,13 @@ int test(char *URL)
}
/* enable uploading */
- curl_easy_setopt(curl, CURLOPT_UPLOAD, TRUE) ;
+ curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
/* specify target */
curl_easy_setopt(curl,CURLOPT_URL, URL);
/* go verbose */
- curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
+ curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
/* use active FTP */
curl_easy_setopt(curl, CURLOPT_FTPPORT, "-");