From: Adam Dickmeiss Date: Thu, 10 Feb 2005 19:17:44 +0000 (+0000) Subject: Remove unused and fix unterminated string (syntax error) X-Git-Tag: YAZPROXY.1.0~15 X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=commitdiff_plain;h=60915c9a4c083781dad44b6639e3544c5e3550b3;hp=d6baec0e7369dd5d01a2998efb3667e3deff6db2 Remove unused and fix unterminated string (syntax error) --- diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index e97946a..48460ae 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy.cpp,v 1.20 2005-02-10 08:09:42 oleg Exp $ +/* $Id: yaz-proxy.cpp,v 1.21 2005-02-10 19:17:44 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -251,9 +251,9 @@ void Yaz_Proxy::set_proxy_authentication (const char *auth) } void Yaz_Proxy::set_proxy_negotiation (const char *charset, const char *lang) { - yaz_log(YLOG_LOG, "%sSet the proxy negotiation: charset to '%s', - language to '%s'", m_session_str, (charset)?charset:"none", - (lang)?lang:"none"); + yaz_log(YLOG_LOG, "%sSet the proxy negotiation: charset to '%s', " + "language to '%s'", m_session_str, charset?charset:"none", + lang?lang:"none"); xfree (m_proxy_negotiation_charset); xfree (m_proxy_negotiation_lang); m_proxy_negotiation_charset = m_proxy_negotiation_lang = 0; @@ -1667,7 +1667,6 @@ void Yaz_Proxy::handle_charset_lang_negotiation(Z_APDU *apdu) { Z_InitResponse *initResponse = apdu->u.initResponse; Z_OtherInformation **otherInfo; - Z_OtherInformationUnit *oi; if (ODR_MASK_GET(initResponse->options, Z_Options_negotiationModel)) {