summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--telepathy-logger/log-store-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c
index fc2fbfd..c050224 100644
--- a/telepathy-logger/log-store-xml.c
+++ b/telepathy-logger/log-store-xml.c
@@ -1365,7 +1365,7 @@ log_store_xml_get_events_for_file (TplLogStoreXml *self,
ctxt = xmlNewParserCtxt ();
/* Parse and validate the file. */
- doc = xmlCtxtReadFile (ctxt, filename, NULL, 0);
+ doc = xmlCtxtReadFile (ctxt, filename, NULL, XML_PARSE_RECOVER);
if (!doc)
{
g_warning ("Failed to parse file:'%s'", filename);