From 9d99233343d990135fe697f47f5933b1fd74cb0b Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Mon, 30 Aug 2010 15:37:08 +0200 Subject: [PATCH] Fix: Initialize facets to empty --- src/srwutil.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/srwutil.c b/src/srwutil.c index 9e71129..2746199 100644 --- 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 *) -- 1.7.10.4