From 8fb781d91bd3f8bd73dc30b4a1bdc23a69120d87 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 2 Mar 2015 10:50:56 +0100 Subject: [PATCH] Part 2 of http proxy fails with yaz-client YAZ-824 --- client/client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 1.7.10.4