projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a922f2f
)
yaz-client uses cs_create_host_proxy
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 23 Apr 2013 13:00:01 +0000
(15:00 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 23 Apr 2013 13:00:01 +0000
(15:00 +0200)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
a55f095
..
89bc0fa
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';
- 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);