mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Cleanup: Converted tag <Listeners> to lowercase.
This converts the <Listeners> tag to lowercase on listclients admin command. This is to align with stats.xml which already uses lowercase. See: #2097
This commit is contained in:
parent
765ceabe81
commit
c89a5714fb
@ -733,7 +733,8 @@ static void command_show_listeners(client_t *client,
|
||||
|
||||
memset(buf, '\000', sizeof(buf));
|
||||
snprintf (buf, sizeof(buf), "%lu", source->listeners);
|
||||
xmlNewChild(srcnode, NULL, XMLSTR("Listeners"), XMLSTR(buf));
|
||||
/* BEFORE RELEASE NEXT DOCUMENT #2097: Changed "Listeners" to lower case. */
|
||||
xmlNewChild(srcnode, NULL, XMLSTR(client->mode == OMODE_LEGACY ? "Listeners" : "listeners"), XMLSTR(buf));
|
||||
|
||||
admin_add_listeners_to_mount(source, srcnode, client->mode);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user