From: Dennis Schafroth Date: Mon, 30 Aug 2010 13:37:08 +0000 (+0200) Subject: Fix: Initialize facets to empty X-Git-Tag: v4.1.0~22 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=9d99233343d990135fe697f47f5933b1fd74cb0b;p=yaz-moved-to-github.git Fix: Initialize facets to empty --- 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 *)