From 62554b780bd35b3a99f926c1463dfd171def38fe Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 28 Oct 2011 10:50:49 +0200 Subject: [PATCH] Fix return value in service_xslt_config --- src/service_xslt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service_xslt.c b/src/service_xslt.c index 925d618..47a5f37 100644 --- a/src/service_xslt.c +++ b/src/service_xslt.c @@ -79,7 +79,7 @@ int service_xslt_config(struct conf_service *service, xmlNode *n) if (!id) { yaz_log(YLOG_FATAL, "Missing attribute id for xslt element"); - return 0; + return -1; } while (root && root->type != XML_ELEMENT_NODE) root = root->next; -- 1.7.10.4