aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/synctime.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/synctime.c')
-rw-r--r--docs/examples/synctime.c2
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);