From 49c5b42617e1fcd2e36d6f4e6628a93232b99b0f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 22 Dec 2003 14:24:10 +0000 Subject: [PATCH] Init member database for explain request --- src/srw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/srw.c b/src/srw.c index cd8b48c..df7c04e 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.4 2003-12-20 22:40:46 adam Exp $ + * $Id: srw.c,v 1.5 2003-12-22 14:24:10 adam Exp $ */ #include @@ -437,6 +437,7 @@ int yaz_srw_codec(ODR o, void * vptr, Z_SRW_PDU **handler_data, (*p)->which = Z_SRW_explain_request; req = (*p)->u.explain_request = odr_malloc(o, sizeof(*req)); req->recordPacking = 0; + req->database = 0; for (; ptr; ptr = ptr->next) { if (match_xsd_string(ptr, "recordPacking", o, -- 1.7.10.4