From: Dennis Schafroth Date: Wed, 6 Oct 2010 10:59:00 +0000 (+0200) Subject: Remove double-check on facet_list. Add facets parse warning X-Git-Tag: v4.1.2~22^2~1 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=bd9c79c8a78ab881df8e2ba667b24021193151bc;p=yaz-moved-to-github.git Remove double-check on facet_list. Add facets parse warning --- diff --git a/src/zoom-z3950.c b/src/zoom-z3950.c index 5fc7c25..22dd87b 100644 --- a/src/zoom-z3950.c +++ b/src/zoom-z3950.c @@ -663,10 +663,10 @@ zoom_ret ZOOM_connection_Z3950_send_search(ZOOM_connection c) if (facet_list) { Z_OtherInformation **oi; yaz_oi_APDU(apdu, &oi); - if (facet_list) { - yaz_oi_set_facetlist(oi, c->odr_out, facet_list); - } + yaz_oi_set_facetlist(oi, c->odr_out, facet_list); } + else + yaz_log(YLOG_WARN, "Unable to parse facets: ", facets); } assert(r);