From: Dennis Schafroth Date: Tue, 20 Jul 2010 16:02:57 +0000 (+0200) Subject: Fix: X-Git-Tag: v4.0.12~31 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=7c0b1d48b8192d2fa79f942d37c29d30a99c2fb6;p=yaz-moved-to-github.git Fix: The facets_field variable was a pointer too much. Also not conditional on the ZOOM_RESULT_LIST representation. Add: Variables to hold numbers of facets_fields and the array of facets names. --- diff --git a/src/zoom-p.h b/src/zoom-p.h index a9c6b33..51125b5 100644 --- a/src/zoom-p.h +++ b/src/zoom-p.h @@ -168,8 +168,10 @@ struct ZOOM_resultset_p { #if ZOOM_RESULT_LISTS #else ZOOM_resultset next; - ZOOM_facet_field **facets; #endif + ZOOM_facet_field *facets; + int num_facets; + char **facets_names; }; struct ZOOM_record_p {