From 7ae022686fea1c7d71db914b867032f8569ddb5f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sat, 20 Dec 2003 22:40:46 +0000 Subject: [PATCH] Init all SRW explain response members --- src/srw.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 1.7.10.4