mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
renamed <alias> to <resource>.
renamed <alias> to <resource> as it is planned to extent the usage of this tag. docs and default configs should be updated by those taking core of them.
This commit is contained in:
parent
fa35f176ab
commit
f7f998e741
@ -1572,7 +1572,7 @@ static void _parse_paths(xmlDocPtr doc, xmlNodePtr node,
|
||||
configuration->adminroot_dir = (char *)temp;
|
||||
if(configuration->adminroot_dir[strlen(configuration->adminroot_dir)-1] == '/')
|
||||
configuration->adminroot_dir[strlen(configuration->adminroot_dir)-1] = 0;
|
||||
} else if (xmlStrcmp (node->name, XMLSTR("alias")) == 0) {
|
||||
} else if (xmlStrcmp(node->name, XMLSTR("resource")) == 0 || xmlStrcmp(node->name, XMLSTR("alias")) == 0) {
|
||||
alias = malloc(sizeof(aliases));
|
||||
alias->next = NULL;
|
||||
alias->source = (char *)xmlGetProp(node, XMLSTR("source"));
|
||||
|
Loading…
Reference in New Issue
Block a user