git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d86af3
)
segmentation fault avoided when host unreachable
author
Marcel Poul
<marcel.poul@cern.ch>
Thu, 24 Nov 2011 21:59:39 +0000
(21:59 +0000)
committer
Marcel Poul
<marcel.poul@cern.ch>
Thu, 24 Nov 2011 21:59:39 +0000
(21:59 +0000)
emi.canl.canl-c/src/canl.c
patch
|
blob
|
blame
|
history
diff --git
a/emi.canl.canl-c/src/canl.c
b/emi.canl.canl-c/src/canl.c
index
a1ac28e
..
c465920
100644
(file)
--- a/
emi.canl.canl-c/src/canl.c
+++ b/
emi.canl.canl-c/src/canl.c
@@
-183,6
+183,7
@@
int canl_io_connect(canl_ctx cc, canl_io_handler io, char * host, int port,
goto end;
default:
err = EHOSTUNREACH; //TODO check
+ goto end;
}
sa_in = (struct sockaddr_in *) io_cc->s_addr;