projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid session lock while client search is initiated
[pazpar2-moved-to-github.git]
/
src
/
service_xslt.c
diff --git
a/src/service_xslt.c
b/src/service_xslt.c
index
bd4b580
..
47a5f37
100644
(file)
--- a/
src/service_xslt.c
+++ b/
src/service_xslt.c
@@
-73,13
+73,13
@@
int service_xslt_config(struct conf_service *service, xmlNode *n)
else
{
yaz_log(YLOG_FATAL, "Invalid attribute %s for xslt element",
else
{
yaz_log(YLOG_FATAL, "Invalid attribute %s for xslt element",
- (const char *) n->name);
+ (const char *) attr->name);
return -1;
}
if (!id)
{
yaz_log(YLOG_FATAL, "Missing attribute id for xslt element");
return -1;
}
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;
}
while (root && root->type != XML_ELEMENT_NODE)
root = root->next;