From: Adam Dickmeiss Date: Mon, 2 Oct 2000 13:05:32 +0000 (+0000) Subject: Fixed bug introduced by previous commit. X-Git-Tag: YAZ.1.8~184 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=33b5e2e3822214b25aa544688a2788086840b7a6;p=yaz-moved-to-github.git Fixed bug introduced by previous commit. --- 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.");