projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #774 from trenkel/master
[collectd.git]
/
src
/
powerdns.c
diff --git
a/src/powerdns.c
b/src/powerdns.c
index
a1b2355
..
ece9f75
100644
(file)
--- a/
src/powerdns.c
+++ b/
src/powerdns.c
@@
-18,7
+18,7
@@
*
* Author:
* Luke Heberling <lukeh at c-ware.com>
*
* Author:
* Luke Heberling <lukeh at c-ware.com>
- * Florian Forster <octo at
verplant
.org>
+ * Florian Forster <octo at
collectd
.org>
*
* DESCRIPTION
* Queries a PowerDNS control socket for statistics
*
* DESCRIPTION
* Queries a PowerDNS control socket for statistics
@@
-364,7
+364,7
@@
static int powerdns_get_data_dgram (list_item_t *item, /* {{{ */
break;
}
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);
if (cdt_timeout < TIME_T_TO_CDTIME_T (2))
cdt_timeout = TIME_T_TO_CDTIME_T (2);