summaryrefslogtreecommitdiffstats
path: root/streaming/rrdpush.c
diff options
context:
space:
mode:
Diffstat (limited to 'streaming/rrdpush.c')
-rw-r--r--streaming/rrdpush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/rrdpush.c b/streaming/rrdpush.c
index d99a2be19d..cd7b3b93e2 100644
--- a/streaming/rrdpush.c
+++ b/streaming/rrdpush.c
@@ -174,7 +174,7 @@ int configured_as_master() {
uuid_t uuid;
if (uuid_parse(section->name, uuid) != -1 &&
- appconfig_get_boolean(&stream_config, section->name, "enabled", 0)) {
+ appconfig_get_boolean_by_section(section, "enabled", 0)) {
is_master = 1;
break;
}