X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-proxy.cpp;h=7a49511b24def09712dac58647f88014bab62896;hb=71b6a2c41c24d62fb4b195893b63fc7e1e158adb;hp=e3954d170869aafb8d3de652144a321bd269b31a;hpb=804e399b3394762e87f54d8b1c6e0fe882f9e03b;p=yazpp-moved-to-github.git diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index e3954d1..7a49511 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -1,10 +1,15 @@ /* * Copyright (c) 1998-2000, Index Data. * See the file LICENSE for details. - * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-proxy.cpp,v $ - * Revision 1.16 2000-09-04 08:29:22 adam + * Revision 1.18 2000-09-08 10:23:42 adam + * Added skeleton of yaz-z-server. + * + * Revision 1.17 2000/09/05 13:57:28 adam + * Fixed get_otherInfoAPDU to return otherInfo for extended services. + * + * Revision 1.16 2000/09/04 08:29:22 adam * Fixed memory leak(s). Added re-use of associations, rather than * re-init, when maximum number of targets are in use. * @@ -391,7 +396,8 @@ void Yaz_Proxy::recv_Z_PDU(Z_APDU *apdu) // delete other info part from PDU before sending to target Z_OtherInformation **oi; get_otherInfoAPDU(apdu, &oi); - *oi = 0; + if (oi) + *oi = 0; if (m_client->send_Z_PDU(apdu) < 0) {