Initializing suggestions.
authorDennis Schafroth <dennis@indexdata.com>
Fri, 4 Nov 2011 14:40:40 +0000 (15:40 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 4 Nov 2011 14:40:40 +0000 (15:40 +0100)
src/srw.c

index e23eee0..eec15a7 100644 (file)
--- a/src/srw.c
+++ b/src/srw.c
@@ -841,6 +841,7 @@ int yaz_srw_codec(ODR o, void * vptr, Z_SRW_PDU **handler_data,
             res->num_diagnostics = 0;
             res->nextRecordPosition = 0;
             res->facetList = 0;
+            res->suggestions = 0;
 
             for (; ptr; ptr = ptr->next)
             {