X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsrw.c;h=07ecccf436af07e46b1de56d45ce8fab4aebe069;hb=5c3d2d2ab097e4bb59ba5718a396b020a2d302c0;hp=afba33bf248ca3068166a53104d625a3854a2c47;hpb=dd7de5f04a0de631f98ad9c4774f2111a85388e5;p=yaz-moved-to-github.git diff --git a/src/srw.c b/src/srw.c index afba33b..07ecccf 100644 --- a/src/srw.c +++ b/src/srw.c @@ -2,7 +2,11 @@ * Copyright (c) 2002-2004, Index Data. * See the file LICENSE for details. * - * $Id: srw.c,v 1.26 2004-10-02 13:28:26 adam Exp $ + * $Id: srw.c,v 1.28 2004-10-31 19:23:22 adam Exp $ + */ +/** + * \file srw.c + * \brief Implements SRW/SRU package encoding and decoding */ #include @@ -574,6 +578,10 @@ int yaz_srw_codec(ODR o, void * vptr, Z_SRW_PDU **handler_data, odr_malloc(o, sizeof(*res)); res->diagnostics = 0; res->num_diagnostics = 0; + res->record.recordSchema = 0; + res->record.recordData_buf = 0; + res->record.recordData_len = 0; + res->record.recordPosition = 0; for (; ptr; ptr = ptr->next) {