X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=cfe59b7f0380f155d38085eb40d0d4f9a26e706d;hb=fd0e844569539b1c365114ff1b82209832f14bf7;hp=bbce9956769f9876a2ee0292910d8fa1bf5a7c13;hpb=00537b483d646bd04a204708ecbde708861f044e;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index bbce995..cfe59b7 100644 --- a/client/client.c +++ b/client/client.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ /** \file client.c @@ -1698,11 +1698,7 @@ static void display_facet(Z_FacetField *facet) { Z_AttributeList *al = facet->attributes; struct yaz_facet_attr attr_values; - attr_values.errcode = 0; - attr_values.limit = -1; - attr_values.useattr = "NONE"; - attr_values.relation = "default"; - + yaz_facet_attr_init(&attr_values); yaz_facet_attr_get_z_attributes(al, &attr_values); if (!attr_values.errcode) {