From 7e90f2cc9a54a66e4bdf35056cf69241a93c9e16 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 23 Apr 2013 15:00:01 +0200 Subject: [PATCH] yaz-client uses cs_create_host_proxy --- client/client.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/client.c b/client/client.c index a55f095..89bc0fa 100644 --- a/client/client.c +++ b/client/client.c @@ -702,10 +702,7 @@ static int session_connect_base(const char *arg, const char **basep) strncpy(type_and_host, arg, sizeof(type_and_host)-1); type_and_host[sizeof(type_and_host)-1] = '\0'; - if (yazProxy) - conn = cs_create_host(yazProxy, 1, &add); - else - conn = cs_create_host(arg, 1, &add); + conn = cs_create_host_proxy(yazProxy, 1, &add, yazProxy); if (!conn) { printf("Could not resolve address %s\n", arg); -- 1.7.10.4