mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
Fix: Corrected use of XMLSTR()
This commit is contained in:
parent
449c9559b1
commit
fd2556b4c0
@ -279,7 +279,7 @@ static xmlDocPtr custom_loader(const xmlChar *URI,
|
|||||||
/* Append path separator to path */
|
/* Append path separator to path */
|
||||||
size_t len = strlen(config->adminroot_dir);
|
size_t len = strlen(config->adminroot_dir);
|
||||||
xmlChar* admin_path = xmlMalloc(len+2);
|
xmlChar* admin_path = xmlMalloc(len+2);
|
||||||
xmlStrPrintf(admin_path, len+2, "%s/", XMLSTR(config->adminroot_dir));
|
xmlStrPrintf(admin_path, len+2, XMLSTR("%s/"), XMLSTR(config->adminroot_dir));
|
||||||
|
|
||||||
/* Convert admin path to URI */
|
/* Convert admin path to URI */
|
||||||
admin_URI = xmlPathToURI(admin_path);
|
admin_URI = xmlPathToURI(admin_path);
|
||||||
|
Loading…
Reference in New Issue
Block a user