X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsrw.c;h=d0f83090faf5130baaf63c4804514719d24c2b26;hb=7b1bbfddfb6e9d68c645388e3279a4990a6592ef;hp=64a868be2ea38c481f2d789ba2b8c44a83fd597e;hpb=d6dd2c2d762c1715d0733a0cb7afebc706a77b17;p=yaz-moved-to-github.git diff --git a/src/srw.c b/src/srw.c index 64a868b..d0f8309 100644 --- a/src/srw.c +++ b/src/srw.c @@ -1,11 +1,14 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ /** * \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) {