projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/changelog now auto generated
[yaz-moved-to-github.git]
/
src
/
sru_facet.c
diff --git
a/src/sru_facet.c
b/src/sru_facet.c
index
6802b15
..
a7c0629
100644
(file)
--- a/
src/sru_facet.c
+++ b/
src/sru_facet.c
@@
-259,8
+259,8
@@
void yaz_sru_facet_response(ODR o, Z_FacetList **facetList, xmlNodePtr n)
p_terms = p2;
}
if (index_name)
p_terms = p2;
}
if (index_name)
- ff->attributes = yaz_use_attribute_create(o,
- index_name);
+ ff->attributes =
+ zget_AttributeList_use_string(o, index_name);
if (p_terms)
{
xmlNode *p;
if (p_terms)
{
xmlNode *p;
@@
-287,7
+287,9
@@
void yaz_sru_facet_response(ODR o, Z_FacetList **facetList, xmlNodePtr n)
&cstr))
;
else if (yaz_match_xsd_integer(p2, "count", o,
&cstr))
;
else if (yaz_match_xsd_integer(p2, "count", o,
- &count))
+ &count))
+ ;
+ else
;
}
if (cstr && count)
;
}
if (cstr && count)