diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-05-22 21:20:07 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-05-22 21:20:07 +0000 |
commit | e664cd5826d43930fcc5b5dbaedbec94af33184b (patch) | |
tree | 7cca8fe1a4d1649d4d40ed7dcd4fc64486dedf00 /docs/examples/multi-post.c | |
parent | b8abeab6d3729ce4c9cc3eccb69e2bd3be2b58d3 (diff) |
Fixed a surprising number of example programs that were passing int arguments
to curl_easy_setopt instead of long.
Diffstat (limited to 'docs/examples/multi-post.c')
-rw-r--r-- | docs/examples/multi-post.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/multi-post.c b/docs/examples/multi-post.c index c560bb916..18973a94a 100644 --- a/docs/examples/multi-post.c +++ b/docs/examples/multi-post.c @@ -61,7 +61,7 @@ int main(int argc, char *argv[]) /* what URL that receives this POST */ curl_easy_setopt(curl, CURLOPT_URL, "http://www.fillinyoururl.com/upload.cgi"); - curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); + curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost); |