Commit fd2556b4 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Corrected use of XMLSTR()

parent 449c9559
...@@ -279,7 +279,7 @@ static xmlDocPtr custom_loader(const xmlChar *URI, ...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment