mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-06-30 22:18:19 -04:00
Fix: Corrected XML rendering in case no default mount is defined
This commit is contained in:
parent
c99270de94
commit
678fce2693
@ -940,6 +940,7 @@ static xmlNodePtr _dump_stats_to_doc (xmlNodePtr root, unsigned int flags, const
|
|||||||
if (!(flags & STATS_XML_FLAG_PUBLIC_VIEW)) {
|
if (!(flags & STATS_XML_FLAG_PUBLIC_VIEW)) {
|
||||||
config = config_get_config();
|
config = config_get_config();
|
||||||
mountproxy = config_find_mount(config, source->source, MOUNT_TYPE_NORMAL);
|
mountproxy = config_find_mount(config, source->source, MOUNT_TYPE_NORMAL);
|
||||||
|
if (mountproxy)
|
||||||
__add_authstack(mountproxy->authstack, xmlnode);
|
__add_authstack(mountproxy->authstack, xmlnode);
|
||||||
config_release_config();
|
config_release_config();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user