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/synctime.c | |
parent | b8abeab6d3729ce4c9cc3eccb69e2bd3be2b58d3 (diff) | |
download | curl-e664cd5826d43930fcc5b5dbaedbec94af33184b.tar.gz |
Fixed a surprising number of example programs that were passing int arguments
to curl_easy_setopt instead of long.
Diffstat (limited to 'docs/examples/synctime.c')
-rw-r--r-- | docs/examples/synctime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/synctime.c b/docs/examples/synctime.c index 2d5a8e51e..dd824670e 100644 --- a/docs/examples/synctime.c +++ b/docs/examples/synctime.c @@ -189,7 +189,7 @@ int SyncTime_CURL_Fetch(CURL *curl, char *URL_Str, char *OutFileName, outfile = NULL; if (HttpGetBody == HTTP_COMMAND_HEAD) - curl_easy_setopt(curl, CURLOPT_NOBODY, 1); + curl_easy_setopt(curl, CURLOPT_NOBODY, 1L); else { outfile = fopen(OutFileName, "wb"); curl_easy_setopt(curl, CURLOPT_WRITEDATA, outfile); |