From: Adam Dickmeiss Date: Tue, 23 Apr 2013 13:00:01 +0000 (+0200) Subject: yaz-client uses cs_create_host_proxy X-Git-Tag: v4.2.55~2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=7e90f2cc9a54a66e4bdf35056cf69241a93c9e16;p=yaz-moved-to-github.git yaz-client uses cs_create_host_proxy --- 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);