projects
/
yaz-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:
b57fc2b
)
Reformat
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 12 May 2011 11:01:45 +0000
(13:01 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 12 May 2011 11:01:45 +0000
(13:01 +0200)
src/facet.c
patch
|
blob
|
history
diff --git
a/src/facet.c
b/src/facet.c
index
e4e787c
..
a9a5625
100644
(file)
--- a/
src/facet.c
+++ b/
src/facet.c
@@
-51,9
+51,8
@@
Z_FacetList *yaz_oi_get_facetlist(Z_OtherInformation **otherInformation)
return 0;
z_external = oi->information.externallyDefinedInfo;
return 0;
z_external = oi->information.externallyDefinedInfo;
- if (z_external && z_external->which == Z_External_userFacets) {
+ if (z_external && z_external->which == Z_External_userFacets)
return z_external->u.facetList;
return z_external->u.facetList;
- }
return 0;
}
return 0;
}
@@
-169,7
+168,8
@@
void yaz_facet_attr_get_z_attributes(const Z_AttributeList *attributes,
{
int i;
Z_AttributeElement *ae;
{
int i;
Z_AttributeElement *ae;
- for (i=0; i < attributes->num_attributes; i++) {
+ for (i = 0; i < attributes->num_attributes; i++)
+ {
ae = attributes->attributes[i];
/* ignoring the attributeSet here */
if (*ae->attributeType == 1)
ae = attributes->attributes[i];
/* ignoring the attributeSet here */
if (*ae->attributeType == 1)