[asterisk-commits] eliel: trunk r195075 - /trunk/main/xml.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 18 08:30:44 CDT 2009


Author: eliel
Date: Mon May 18 08:30:34 2009
New Revision: 195075

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=195075
Log:
Do not avoid loading the XML documentation if not XInclude substitution is done.


Modified:
    trunk/main/xml.c

Modified: trunk/main/xml.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/xml.c?view=diff&rev=195075&r1=195074&r2=195075
==============================================================================
--- trunk/main/xml.c (original)
+++ trunk/main/xml.c Mon May 18 08:30:34 2009
@@ -58,7 +58,7 @@
 	doc = xmlReadFile(filename, NULL, XML_PARSE_RECOVER);
 	if (doc) {
 		/* process xinclude elements. */
-		if (xmlXIncludeProcess(doc) <= 0) {
+		if (xmlXIncludeProcess(doc) < 0) {
 			xmlFreeDoc(doc);
 			return NULL;
 		}




More information about the asterisk-commits mailing list