projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix wg_send_buffer to reconnect tcp sockets on failure
[collectd.git]
/
src
/
powerdns.c
diff --git
a/src/powerdns.c
b/src/powerdns.c
index
a1b2355
..
a140a12
100644
(file)
--- a/
src/powerdns.c
+++ b/
src/powerdns.c
@@
-364,7
+364,7
@@
static int powerdns_get_data_dgram (list_item_t *item, /* {{{ */
break;
}
- cdt_timeout =
interval_g
* 3 / 4;
+ cdt_timeout =
plugin_get_interval ()
* 3 / 4;
if (cdt_timeout < TIME_T_TO_CDTIME_T (2))
cdt_timeout = TIME_T_TO_CDTIME_T (2);