From 7c0b1d48b8192d2fa79f942d37c29d30a99c2fb6 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Tue, 20 Jul 2010 18:02:57 +0200 Subject: [PATCH] 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. --- src/zoom-p.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- 1.7.10.4