mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
parent
5cad25a180
commit
5cf8cb9a99
@ -2337,8 +2337,10 @@ static void _parse_authentication(xmlDocPtr doc, xmlNodePtr node,
|
||||
continue;
|
||||
|
||||
if (xmlStrcmp(node->name, XMLSTR("source-password")) == 0) {
|
||||
if (xmlGetProp(node, XMLSTR("mount"))) {
|
||||
xmlChar *tmp;
|
||||
if ((tmp = xmlGetProp(node, XMLSTR("mount")))) {
|
||||
ICECAST_LOG_ERROR("Mount level source password defined within global <authentication> section.");
|
||||
xmlFree(tmp);
|
||||
} else {
|
||||
if (*source_password)
|
||||
xmlFree(*source_password);
|
||||
|
Loading…
Reference in New Issue
Block a user