1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-30 06:35:23 +00:00

allow comments to be within the <http-headers> block, not just at the end

svn path=/icecast/trunk/icecast/; revision=19342
This commit is contained in:
Philipp Schafft 2014-11-21 10:08:16 +00:00
parent 558cff06d9
commit 1fe898adb5

View File

@ -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;