From 1fe898adb5c87ec15770a7f28d7e6cf37c791a09 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Fri, 21 Nov 2014 10:08:16 +0000 Subject: [PATCH] allow comments to be within the block, not just at the end svn path=/icecast/trunk/icecast/; revision=19342 --- src/cfgfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cfgfile.c b/src/cfgfile.c index c27f5740..fbe8fdd8 100644 --- a/src/cfgfile.c +++ b/src/cfgfile.c @@ -880,7 +880,7 @@ static void _parse_http_headers(xmlDocPtr doc, xmlNodePtr node, ice_config_http_ do { if (node == NULL) break; if (xmlIsBlankNode(node)) continue; - if (xmlStrcmp (node->name, XMLSTR("header")) != 0) break; + if (xmlStrcmp (node->name, XMLSTR("header")) != 0) continue; if (!(name = (char *)xmlGetProp(node, XMLSTR("name")))) break; if (!(value = (char *)xmlGetProp(node, XMLSTR("value")))) break;