projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3caf608
)
Fix return value in service_xslt_config
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 28 Oct 2011 08:50:49 +0000
(10:50 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 28 Oct 2011 08:50:49 +0000
(10:50 +0200)
src/service_xslt.c
patch
|
blob
|
history
diff --git
a/src/service_xslt.c
b/src/service_xslt.c
index
925d618
..
47a5f37
100644
(file)
--- 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;