X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsrw.c;h=a34e4839572444344377e769815c15df2b6e822d;hb=7b5b162f32acb625e9afba21e88acb56ca2ab04f;hp=44e8c176998400e5212417fac624d1a2a0c31634;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755;p=yaz-moved-to-github.git diff --git a/src/srw.c b/src/srw.c index 44e8c17..a34e483 100644 --- a/src/srw.c +++ b/src/srw.c @@ -6,6 +6,9 @@ * \file srw.c * \brief Implements SRW/SRU package encoding and decoding */ +#if HAVE_CONFIG_H +#include +#endif #include #if YAZ_HAVE_XML2 @@ -734,6 +737,7 @@ int yaz_srw_codec(ODR o, void * vptr, Z_SRW_PDU **handler_data, res->diagnostics = 0; res->num_diagnostics = 0; res->nextRecordPosition = 0; + res->facetList = 0; for (; ptr; ptr = ptr->next) {