projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better high-level server API.
[yazpp-moved-to-github.git]
/
src
/
yaz-proxy.cpp
diff --git
a/src/yaz-proxy.cpp
b/src/yaz-proxy.cpp
index
e3954d1
..
7a49511
100644
(file)
--- 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.
/*
* Copyright (c) 1998-2000, Index Data.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
* $Log: yaz-proxy.cpp,v $
*
* $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.
*
* 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);
// 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)
{
if (m_client->send_Z_PDU(apdu) < 0)
{