summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 259ebe3)
raw | patch | inline | side by side (parent: 259ebe3)
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 d1d65caa3d1906afa8825c588750007df22e51f5..615e8b75d1f79cec4ee58dcb83e62f782d6028ff 100644 (file)
--- a/src/write_tsdb.c
+++ b/src/write_tsdb.c
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);