From 29b509a56dc168a85a584454cc89ad61662536b0 Mon Sep 17 00:00:00 2001 From: oleg Date: Mon, 20 May 2002 09:13:39 +0000 Subject: [PATCH] Fixed using random values --- client/client.c | 4 ++-- zoom/zoom-c.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/client.c b/client/client.c index 85063a5..74d5a6f 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2002, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.153 2002-05-19 15:39:54 oleg Exp $ + * $Id: client.c,v 1.154 2002-05-20 09:13:39 oleg Exp $ */ #include @@ -309,7 +309,7 @@ static int process_initResponse(Z_InitResponse *res) if (p) { - char *charset, *lang; + char *charset=NULL, *lang=NULL; int selected; yaz_get_response_charneg(session_mem, p, &charset, &lang, &selected); diff --git a/zoom/zoom-c.c b/zoom/zoom-c.c index 267bb2c..f2f5be7 100644 --- a/zoom/zoom-c.c +++ b/zoom/zoom-c.c @@ -1,5 +1,5 @@ /* - * $Id: zoom-c.c,v 1.30 2002-05-19 15:39:54 oleg Exp $ + * $Id: zoom-c.c,v 1.31 2002-05-20 09:13:39 oleg Exp $ * * ZOOM layer for C, connections, result sets, queries. */ @@ -1631,7 +1631,7 @@ static void handle_apdu (ZOOM_connection c, Z_APDU *apdu) if (p) { - char *charset, *lang; + char *charset=NULL, *lang=NULL; int selected; yaz_get_response_charneg(tmpmem, p, &charset, &lang, &selected); -- 1.7.10.4