From: Adam Dickmeiss Date: Thu, 26 Apr 2012 11:55:50 +0000 (+0200) Subject: Fix yaz_xml_include_simple to return -1 on failure X-Git-Tag: v4.2.33~5^2~3 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=1a3be581e0f5a91de90d62d8cb8b41fd774efec5;p=yaz-moved-to-github.git Fix yaz_xml_include_simple to return -1 on failure --- diff --git a/src/xml_include.c b/src/xml_include.c index 574ee85..a37ada9 100644 --- a/src/xml_include.c +++ b/src/xml_include.c @@ -156,8 +156,7 @@ int yaz_xml_include_simple(xmlNode *n, const char *base_path) struct yaz_xml_include_s s; s.confdir = base_path; - process_config_includes(&s, n); - return 0; + return process_config_includes(&s, n); } /* YAZ_HAVE_XML2 */