From 1a3be581e0f5a91de90d62d8cb8b41fd774efec5 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 26 Apr 2012 13:55:50 +0200 Subject: [PATCH] Fix yaz_xml_include_simple to return -1 on failure --- src/xml_include.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 */ -- 1.7.10.4