X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbind.c;h=b9731eeee0d89522cd3375239f07e0a4c1c50a96;hb=952a2f399229aa5e327959ba81d32dc47a4745df;hp=6eac159cbcf78b1f36651aa7468f389a9baf74a8;hpb=092e0c8763ef268918fb8117be9579d375ac8cfc;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