X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbind.c;h=288949a802113ed0a8d3b049ae02a65bc1dd3344;hb=7a6887ad7eef33e04bcb0720c213d05fd9be8a59;hp=5b7d7a056efe7d1a693c34b6737a191b2dbab63c;hpb=1d7439282ad415e7d1630598becae3109c7d2735;p=collectd.git diff --git a/src/bind.c b/src/bind.c index 5b7d7a05..288949a8 100644 --- a/src/bind.c +++ b/src/bind.c @@ -1393,12 +1393,12 @@ static int bind_init (void) /* {{{ */ return (-1); } - curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1); + curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1L); curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, bind_curl_callback); curl_easy_setopt (curl, CURLOPT_USERAGENT, PACKAGE_NAME"/"PACKAGE_VERSION); curl_easy_setopt (curl, CURLOPT_ERRORBUFFER, bind_curl_error); curl_easy_setopt (curl, CURLOPT_URL, (url != NULL) ? url : BIND_DEFAULT_URL); - curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1); + curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1L); return (0); } /* }}} int bind_init */