diff options
author | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-18 13:30:34 +0000 |
---|---|---|
committer | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-18 13:30:34 +0000 |
commit | 7549f5d79a50d0332197b5c4f41877378d0317c2 (patch) | |
tree | ae59aaf4458008de3899b4564065f3e70ccd27c2 /main | |
parent | 8f89760da62ab76b0995bba7f3231359f4f3d4dc (diff) |
Do not avoid loading the XML documentation if not XInclude substitution is done.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@195075 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-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; } |