From: Adam Dickmeiss Date: Mon, 1 Mar 2004 19:12:14 +0000 (+0000) Subject: Fixed fix-up for omitted referenceIds X-Git-Tag: YAZPP.0.7.12~6 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=ae5fa376d18cb66d540fa46f98dad62f12774f2a;p=yazpp-moved-to-github.git Fixed fix-up for omitted referenceIds --- 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)