diff options
author | Eliel C. Sardanons <eliels@gmail.com> | 2009-05-18 13:30:34 +0000 |
---|---|---|
committer | Eliel C. Sardanons <eliels@gmail.com> | 2009-05-18 13:30:34 +0000 |
commit | a007eb13b2c477c7f08ab9219ee405dc87db77cb (patch) | |
tree | ae59aaf4458008de3899b4564065f3e70ccd27c2 /main/xml.c | |
parent | bea88fc72af7f516660c47266ee93cd924621d9c (diff) |
Do not avoid loading the XML documentation if not XInclude substitution is done.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@195075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/xml.c')
-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; } |