projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bea88fc
)
Do not avoid loading the XML documentation if not XInclude substitution is done.
author
Eliel C. Sardanons
<eliels@gmail.com>
Mon, 18 May 2009 13:30:34 +0000
(13:30 +0000)
committer
Eliel C. Sardanons
<eliels@gmail.com>
Mon, 18 May 2009 13:30:34 +0000
(13:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@195075
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/xml.c
patch
|
blob
|
history
diff --git
a/main/xml.c
b/main/xml.c
index
fe00bfb
..
36e7dd8
100644
(file)
--- 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;
}