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:
e53c4f3
)
Fix: Initialize facets to empty
author
Dennis Schafroth
<dennis@indexdata.com>
Mon, 30 Aug 2010 13:37:08 +0000
(15:37 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Mon, 30 Aug 2010 13:37:08 +0000
(15:37 +0200)
src/srwutil.c
patch
|
blob
|
history
diff --git
a/src/srwutil.c
b/src/srwutil.c
index
9e71129
..
2746199
100644
(file)
--- a/
src/srwutil.c
+++ b/
src/srwutil.c
@@
-747,6
+747,7
@@
Z_SRW_PDU *yaz_srw_get_pdu(ODR o, int which, const char *version)
sr->u.request->database = 0;
sr->u.request->resultSetTTL = 0;
sr->u.request->stylesheet = 0;
+ sr->u.request->facetList = 0;
break;
case Z_SRW_searchRetrieve_response:
sr->u.response = (Z_SRW_searchRetrieveResponse *)
@@
-760,6
+761,7
@@
Z_SRW_PDU *yaz_srw_get_pdu(ODR o, int which, const char *version)
sr->u.response->num_diagnostics = 0;
sr->u.response->nextRecordPosition = 0;
sr->u.response->extra_records = 0;
+ sr->u.response->facetList = 0;
break;
case Z_SRW_explain_request:
sr->u.explain_request = (Z_SRW_explainRequest *)