mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-29 04:25:55 -04: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:
parent
558cff06d9
commit
1fe898adb5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user