From 9275dfd8c86eb0574e07058e739cf51b777222b1 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Thu, 30 Apr 2020 10:52:18 +0200 Subject: [PATCH] Feature: Improve logging for yp-directory options parsing --- src/cfgfile.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/cfgfile.c b/src/cfgfile.c index 764ebe03..499184ad 100644 --- a/src/cfgfile.c +++ b/src/cfgfile.c @@ -2117,8 +2117,11 @@ static void _parse_yp_directory(xmlDocPtr doc, options = config_parse_options(node); for (config_options_t *opt = options; opt; opt = opt->next) { - if (!opt->name || !opt->value) + if (!opt->name || !opt->value) { + ICECAST_LOG_WARN("Invalid