mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Feature: Also export type="" in stats.xml's <role>s
This commit is contained in:
parent
7093e19523
commit
a990756912
@ -878,6 +878,8 @@ static xmlNodePtr _dump_stats_to_doc (xmlNodePtr root, const char *show_mount, i
|
||||
snprintf(idbuf, sizeof(idbuf), "%lu", auth->id);
|
||||
role = xmlNewTextChild(authentication, NULL, XMLSTR("role"), NULL);
|
||||
xmlSetProp(role, XMLSTR("id"), XMLSTR(idbuf));
|
||||
if (auth->type)
|
||||
xmlSetProp(role, XMLSTR("type"), XMLSTR(auth->type));
|
||||
if (auth->role)
|
||||
xmlSetProp(role, XMLSTR("name"), XMLSTR(auth->role));
|
||||
if (auth->management_url)
|
||||
|
Loading…
Reference in New Issue
Block a user