From: Adam Dickmeiss Date: Sat, 20 Dec 2003 22:40:46 +0000 (+0000) Subject: Init all SRW explain response members X-Git-Tag: YAZ.2.0.8~3 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=7ae022686fea1c7d71db914b867032f8569ddb5f;p=yaz-moved-to-github.git Init all SRW explain response members --- diff --git a/src/srw.c b/src/srw.c index 3f39cf3..cd8b48c 100644 --- a/src/srw.c +++ b/src/srw.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2003, Index Data. * See the file LICENSE for details. * - * $Id: srw.c,v 1.3 2003-12-20 00:51:19 adam Exp $ + * $Id: srw.c,v 1.4 2003-12-20 22:40:46 adam Exp $ */ #include @@ -613,6 +613,9 @@ Z_SRW_PDU *yaz_srw_get(ODR o, int which) odr_malloc(o, sizeof(*sr->u.explain_response)); sr->u.explain_response->record.recordData_buf = 0; sr->u.explain_response->record.recordData_len = 0; + sr->u.explain_response->record.recordSchema = 0; + sr->u.explain_response->record.recordPosition = 0; + sr->u.explain_response->record.recordPacking = Z_SRW_recordPacking_string; } return sr; }