summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2014-05-08 10:57:23 +0200
committerThomas Graf <tgraf@suug.ch>2014-05-08 10:57:23 +0200
commitd3a53dc1c108387dc3fee2d8dbde283c5b11886c (patch)
tree5d3d3c187c1e92e7f4ee9f5dba32adc269f08e79
parente0efec0c423ef910daf0e9b3ecd033058d0be456 (diff)
conf: Correctly terminate default config with CFG_END()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
-rw-r--r--src/conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index c1a1676..90ef405 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -86,6 +86,7 @@ static cfg_opt_t global_opts[] = {
CFG_SEC("attr", attr_opts, CFGF_MULTI | CFGF_TITLE),
CFG_SEC("history", history_opts, CFGF_MULTI | CFGF_TITLE),
CFG_SEC("element", element_opts, CFGF_MULTI | CFGF_TITLE),
+ CFG_END()
};
float cfg_read_interval;