mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
s/xmlParseMemory/xmlReadMemory/
...as xmlParseMemory() is deprecated
This commit is contained in:
parent
683f67b761
commit
cc838e79ed
2 changed files with 4 additions and 2 deletions
|
|
@ -1412,7 +1412,8 @@ xml_tree_walk(xmlNode *node)
|
|||
void
|
||||
rcxml_parse_xml(struct buf *b)
|
||||
{
|
||||
xmlDoc *d = xmlParseMemory(b->data, b->len);
|
||||
int options = 0;
|
||||
xmlDoc *d = xmlReadMemory(b->data, b->len, NULL, NULL, options);
|
||||
if (!d) {
|
||||
wlr_log(WLR_ERROR, "error parsing config file");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue