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