X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbind.c;h=b9731eeee0d89522cd3375239f07e0a4c1c50a96;hb=72f3b390dff512e8d891aff6f3fba9ecaeaf970c;hp=6eac159cbcf78b1f36651aa7468f389a9baf74a8;hpb=ae5cca244ff291c17df1cc36e28f19376958a2eb;p=collectd.git diff --git a/src/bind.c b/src/bind.c index 6eac159c..b9731eee 100644 --- a/src/bind.c +++ b/src/bind.c @@ -1758,7 +1758,7 @@ static int bind_init (void) /* {{{ */ curl_easy_setopt (curl, CURLOPT_MAXREDIRS, 50L); #ifdef HAVE_CURLOPT_TIMEOUT_MS curl_easy_setopt (curl, CURLOPT_TIMEOUT_MS, (timeout >= 0) ? - (long) timeout : CDTIME_T_TO_MS(plugin_get_interval())); + (long) timeout : (long) CDTIME_T_TO_MS(plugin_get_interval())); #endif