1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Set xmlns for <icestats> in reports

This commit is contained in:
Philipp Schafft 2020-10-10 09:33:36 +00:00
parent 4a54efbc46
commit c900f0b18f

View File

@ -712,6 +712,7 @@ static void client_get_reportxml__add_basic_stats(reportxml_t *report)
refobject_unref(rootnode); refobject_unref(rootnode);
xmlroot = xmlNewNode(NULL, XMLSTR("icestats")); xmlroot = xmlNewNode(NULL, XMLSTR("icestats"));
xmlSetProp(xmlroot, XMLSTR("xmlns"), XMLSTR(XMLNS_LEGACY_STATS));
modules = module_container_get_modulelist_as_xml(global.modulecontainer); modules = module_container_get_modulelist_as_xml(global.modulecontainer);
xmlAddChild(xmlroot, modules); xmlAddChild(xmlroot, modules);