X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsrw.c;h=07ecccf436af07e46b1de56d45ce8fab4aebe069;hb=5c3d2d2ab097e4bb59ba5718a396b020a2d302c0;hp=067e5f3cdee5b11fac3bf987bc135f702a5255fd;hpb=05c274ef315384faafcc5900c17468f0ea2474e6;p=yaz-moved-to-github.git diff --git a/src/srw.c b/src/srw.c index 067e5f3..07ecccf 100644 --- a/src/srw.c +++ b/src/srw.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2004, Index Data. * See the file LICENSE for details. * - * $Id: srw.c,v 1.27 2004-10-15 00:19:00 adam Exp $ + * $Id: srw.c,v 1.28 2004-10-31 19:23:22 adam Exp $ */ /** * \file srw.c @@ -578,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) {