projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e32d36
)
ZOOM: only supply clientIP for InitRequest
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 5 Mar 2014 14:44:41 +0000
(15:44 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 5 Mar 2014 14:44:43 +0000
(15:44 +0100)
Rather than for all APDU types.
src/zoom-z3950.c
patch
|
blob
|
history
diff --git
a/src/zoom-z3950.c
b/src/zoom-z3950.c
index
2835262
..
8afcd01
100644
(file)
--- a/
src/zoom-z3950.c
+++ b/
src/zoom-z3950.c
@@
-510,7
+510,7
@@
static int encode_APDU(ZOOM_connection c, Z_APDU *a, ODR out)
yaz_oi_set_string_oid(oi, out, yaz_oid_userinfo_cookie,
1, c->cookie_out);
}
- if (c->client_IP)
+ if (c->client_IP && a->which == Z_APDU_initRequest)
{
Z_OtherInformation **oi;
yaz_oi_APDU(a, &oi);