diff options
-rw-r--r-- | main/xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/xml.c b/main/xml.c index fe00bfbf6..36e7dd812 100644 --- a/main/xml.c +++ b/main/xml.c @@ -58,7 +58,7 @@ struct ast_xml_doc *ast_xml_open(char *filename) doc = xmlReadFile(filename, NULL, XML_PARSE_RECOVER); if (doc) { /* process xinclude elements. */ - if (xmlXIncludeProcess(doc) <= 0) { + if (xmlXIncludeProcess(doc) < 0) { xmlFreeDoc(doc); return NULL; } |