From: Adam Dickmeiss Date: Thu, 12 May 2011 11:01:45 +0000 (+0200) Subject: Reformat X-Git-Tag: v4.2.0~22 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=cc210c8334133d10df376ba1d914d34d96798e32;p=yaz-moved-to-github.git Reformat --- diff --git a/src/facet.c b/src/facet.c index e4e787c..a9a5625 100644 --- 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; - if (z_external && z_external->which == Z_External_userFacets) { + if (z_external && z_external->which == Z_External_userFacets) return z_external->u.facetList; - } return 0; } @@ -169,7 +168,8 @@ void yaz_facet_attr_get_z_attributes(const Z_AttributeList *attributes, { 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)