From cc210c8334133d10df376ba1d914d34d96798e32 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 12 May 2011 13:01:45 +0200 Subject: [PATCH] Reformat --- src/facet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 1.7.10.4