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/fopen.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/fopen.c')
-rw-r--r-- | docs/examples/fopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c index 44d2498a0..9801e15c1 100644 --- a/docs/examples/fopen.c +++ b/docs/examples/fopen.c @@ -236,7 +236,7 @@ url_fopen(const char *url,const char *operation) curl_easy_setopt(file->handle.curl, CURLOPT_URL, url); curl_easy_setopt(file->handle.curl, CURLOPT_WRITEDATA, file); - curl_easy_setopt(file->handle.curl, CURLOPT_VERBOSE, 0); + curl_easy_setopt(file->handle.curl, CURLOPT_VERBOSE, 0L); curl_easy_setopt(file->handle.curl, CURLOPT_WRITEFUNCTION, write_callback); if(!multi_handle) |