From 33b5e2e3822214b25aa544688a2788086840b7a6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 2 Oct 2000 13:05:32 +0000 Subject: [PATCH] Fixed bug introduced by previous commit. --- server/seshigh.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/server/seshigh.c b/server/seshigh.c index 8c01796..277050a 100644 --- a/server/seshigh.c +++ b/server/seshigh.c @@ -3,7 +3,10 @@ * See the file LICENSE for details. * * $Log: seshigh.c,v $ - * Revision 1.109 2000-10-02 11:07:44 adam + * Revision 1.110 2000-10-02 13:05:32 adam + * Fixed bug introduced by previous commit. + * + * Revision 1.109 2000/10/02 11:07:44 adam * Added peer_name member for bend_init handler. Changed the YAZ * client so that tcp: can be avoided in target spec. * @@ -899,7 +902,7 @@ static Z_APDU *process_initRequest(association *assoc, request *reqb) assoc->init->bend_fetch = NULL; assoc->init->peer_name = - odr_strdup (assoc->decode, cs_addrstr(assoc->client_link)); + odr_strdup (assoc->encode, cs_addrstr(assoc->client_link)); if (!(binitres = (*cb->bend_init)(assoc->init))) { yaz_log(LOG_WARN, "Bad response from backend."); -- 1.7.10.4