X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbind.c;fp=src%2Fbind.c;h=b9731eeee0d89522cd3375239f07e0a4c1c50a96;hb=6286127470b83578c2889db546cfa32cb0fe0147;hp=6eac159cbcf78b1f36651aa7468f389a9baf74a8;hpb=aedf67e69cbe93a6925fd1004a7c8b990aed4b0a;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