projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
259ebe3
)
Bugfix on write_tsdb configuration parser
author
Yves Mettier
<ymettier@free.fr>
Wed, 14 Oct 2015 16:25:13 +0000
(17:25 +0100)
committer
Florian Forster
<octo@collectd.org>
Tue, 29 Nov 2016 07:53:21 +0000
(08:53 +0100)
src/write_tsdb.c
patch
|
blob
|
history
diff --git
a/src/write_tsdb.c
b/src/write_tsdb.c
index
d1d65ca
..
615e8b7
100644
(file)
--- a/
src/write_tsdb.c
+++ b/
src/write_tsdb.c
@@
-593,7
+593,7
@@
static int wt_config(oconfig_item_t *ci) {
if (strcasecmp("Node", child->key) == 0)
wt_config_tsd(child);
- if (strcasecmp("DNS_Cache_TTL", child->key) == 0) {
+
else
if (strcasecmp("DNS_Cache_TTL", child->key) == 0) {
int ttl;
cf_util_get_int(child, &ttl);
dnsttl = TIME_T_TO_CDTIME_T(ttl);