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:
dca8928
)
Fix test_sru.sh fails in pazpar2 YAZ-826
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 3 Mar 2015 15:20:49 +0000
(16:20 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 3 Mar 2015 15:20:49 +0000
(16:20 +0100)
src/zoom-c.c
patch
|
blob
|
history
diff --git
a/src/zoom-c.c
b/src/zoom-c.c
index
b53dceb
..
baf66f0
100644
(file)
--- a/
src/zoom-c.c
+++ b/
src/zoom-c.c
@@
-1082,6
+1082,8
@@
static zoom_ret do_connect_host(ZOOM_connection c, const char *logical_url)
c->cs = cs_create_host2(logical_url, CS_FLAGS_DNS_NO_BLOCK, &add,
c->tproxy ? c->tproxy : c->proxy,
&c->proxy_mode);
+ if (!c->proxy)
+ c->proxy_mode = 0;
if (c->cs && c->cs->protocol == PROTO_HTTP)
{