From ae5fa376d18cb66d540fa46f98dad62f12774f2a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 1 Mar 2004 19:12:14 +0000 Subject: [PATCH] Fixed fix-up for omitted referenceIds --- ChangeLog | 2 ++ src/yaz-proxy.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e1463c8..35ae537 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +Fixed fix-up for omitted referenceIds. + --- 0.7.11 2004/03/01 Internal release. Fix pre_init to prevent spawn if it is already queued. diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index f2e5f25..3d89720 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2004, Index Data. * See the file LICENSE for details. * - * $Id: yaz-proxy.cpp,v 1.107 2004-03-01 17:18:39 adam Exp $ + * $Id: yaz-proxy.cpp,v 1.108 2004-03-01 19:12:14 adam Exp $ */ #include @@ -1019,7 +1019,7 @@ int Yaz_Proxy::send_to_client(Z_APDU *apdu) int kill_session = 0; Z_ReferenceId **new_id = get_referenceIdP(apdu); - if (new_id && m_referenceId) + if (new_id) *new_id = m_referenceId; if (apdu->which == Z_APDU_searchResponse) -- 1.7.10.4