From: Adam Dickmeiss Date: Mon, 2 Mar 2015 09:50:56 +0000 (+0100) Subject: Part 2 of http proxy fails with yaz-client YAZ-824 X-Git-Tag: v5.10.0~5 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=8fb781d91bd3f8bd73dc30b4a1bdc23a69120d87;p=yaz-moved-to-github.git Part 2 of http proxy fails with yaz-client YAZ-824 --- diff --git a/client/client.c b/client/client.c index 7a782d0..31fd6f8 100644 --- a/client/client.c +++ b/client/client.c @@ -1363,8 +1363,7 @@ static int send_srw_host_path(Z_SRW_PDU *sr, const char *host_port, static int send_srw(Z_SRW_PDU *sr) { - char *path = yaz_encode_sru_dbpath_odr(out, databaseNames[0]); - return send_srw_host_path(sr, wrbuf_cstr(cur_host), path); + return send_srw_host_path(sr, wrbuf_cstr(cur_host), databaseNames[0]); } static int send_SRW_redirect(const char *uri)