1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-16 06:15:24 +00:00

Fix: Corrected use of XMLSTR()

This commit is contained in:
Philipp Schafft 2018-07-09 08:36:48 +00:00
parent 449c9559b1
commit fd2556b4c0

View File

@ -279,7 +279,7 @@ static xmlDocPtr custom_loader(const xmlChar *URI,
/* Append path separator to path */
size_t len = strlen(config->adminroot_dir);
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 */
admin_URI = xmlPathToURI(admin_path);