projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e8452
)
Fix:
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 20 Jul 2010 16:02:57 +0000
(18:02 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 20 Jul 2010 16:02:57 +0000
(18:02 +0200)
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
patch
|
blob
|
history
diff --git
a/src/zoom-p.h
b/src/zoom-p.h
index
a9c6b33
..
51125b5
100644
(file)
--- 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 {