aboutsummaryrefslogtreecommitdiffstats
path: root/core/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/parse-xml.c')
-rw-r--r--core/parse-xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index 7b1a62ef9..da3a54ec3 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -1748,9 +1748,9 @@ int parse_xml_buffer(const char *url, const char *buffer, int size,
state.sites = sites;
state.devices = devices;
state.filter_presets = filter_presets;
- doc = xmlReadMemory(res, strlen(res), url, NULL, 0);
+ doc = xmlReadMemory(res, strlen(res), url, NULL, XML_PARSE_HUGE);
if (!doc)
- doc = xmlReadMemory(res, strlen(res), url, "latin1", 0);
+ doc = xmlReadMemory(res, strlen(res), url, "latin1", XML_PARSE_HUGE);
if (res != buffer)
free((char *)res);