summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/xmlfile.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 18:42:47 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 18:42:47 +0200
commit88b5a5c09fccc9c74b065523dbf2175d263a8db2 (patch)
tree0891845e0e919d38ad4dbecd3601c739769ead38 /src/lib/util/xmlfile.cpp
parent864360160bb46c1d8f404d59a20ec7c74bc1faaf (diff)
Cleanup linux OSD (nw)
Diffstat (limited to 'src/lib/util/xmlfile.cpp')
-rw-r--r--src/lib/util/xmlfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/xmlfile.cpp b/src/lib/util/xmlfile.cpp
index 0676326fdd8..2b9bc8ed20d 100644
--- a/src/lib/util/xmlfile.cpp
+++ b/src/lib/util/xmlfile.cpp
@@ -197,7 +197,7 @@ xml_data_node *xml_string_read(const char *string, xml_parse_options *opts)
return nullptr;
/* parse the data */
- if (XML_Parse(parse_info.parser, string, length, TRUE) == XML_STATUS_ERROR)
+ if (XML_Parse(parse_info.parser, string, length, 1) == XML_STATUS_ERROR)
{
if (opts != nullptr && opts->error != nullptr)
{