X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=client%2Fclient.c;h=89bc0fa892fc42245a9a15deff18698966b679cd;hp=da0fd366ef04e133e6f0566ef7db54d4481bced4;hb=7e90f2cc9a54a66e4bdf35056cf69241a93c9e16;hpb=0380a06a86927164ff17500bcf7c3b54fd5428c4 diff --git a/client/client.c b/client/client.c index da0fd36..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); @@ -4448,7 +4445,7 @@ static void http_response(Z_HTTP_Response *hres) handle_srw_scan_response(sr->u.scan_response); else { - printf("Decoding of SOLR package failed\n"); + printf("Decoding of Solr package failed\n"); ret = -1; } odr_destroy(o);