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
Trunc 104 is Z39.58
[yaz-moved-to-github.git]
/
src
/
comstack.c
diff --git
a/src/comstack.c
b/src/comstack.c
index
b81e89c
..
74faf5c
100644
(file)
--- a/
src/comstack.c
+++ b/
src/comstack.c
@@
-169,7
+169,8
@@
COMSTACK cs_create_host_proxy(const char *vhost, int blocking, void **vp,
CS_TYPE t;
char *connect_host = 0;
CS_TYPE t;
char *connect_host = 0;
- cs_parse_host(vhost, &host, &t, &proto, &connect_host);
+ if (!cs_parse_host(vhost, &host, &t, &proto, &connect_host))
+ return 0;
if (t == tcpip_type)
{
if (t == tcpip_type)
{