projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New functions yaz_file_glob2, yaz_xml_include_glob
[yaz-moved-to-github.git]
/
client
/
client.c
diff --git
a/client/client.c
b/client/client.c
index
71dc720
..
0a36651
100644
(file)
--- 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';
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(arg, 1, &add, yazProxy);
if (!conn)
{
printf("Could not resolve address %s\n", arg);
if (!conn)
{
printf("Could not resolve address %s\n", arg);
@@
-4445,10
+4442,10
@@
static void http_response(Z_HTTP_Response *hres)
if (ret == 0 && sr->which == Z_SRW_searchRetrieve_response)
handle_srw_response(sr->u.response);
else if (ret == 0 && sr->which == Z_SRW_scan_response)
if (ret == 0 && sr->which == Z_SRW_searchRetrieve_response)
handle_srw_response(sr->u.response);
else if (ret == 0 && sr->which == Z_SRW_scan_response)
- handle_srw_scan_response(sr->u.scan_response);
+ handle_srw_scan_response(sr->u.scan_response);
else
{
else
{
- printf("Decoding of SOLR package failed\n");
+ printf("Decoding of Solr package failed\n");
ret = -1;
}
odr_destroy(o);
ret = -1;
}
odr_destroy(o);