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:
a8285f2
)
orphaned error check removed
author
Marcel Poul
<marcel.poul@cern.ch>
Thu, 17 Nov 2011 22:09:59 +0000
(22:09 +0000)
committer
Marcel Poul
<marcel.poul@cern.ch>
Thu, 17 Nov 2011 22:09:59 +0000
(22:09 +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
86a229b
..
0f58dad
100644
(file)
--- a/
emi.canl.canl-c/src/canl.c
+++ b/
emi.canl.canl-c/src/canl.c
@@
-165,9
+165,6
@@
int canl_io_connect(canl_ctx cc, canl_io_handler io, char * host, int port,
/*dns TODO - wrap it for using ipv6 and ipv4 at the same time*/
- if (err)
- goto end;
-
switch (err = asyn_getservbyname(AF_INET, io_cc->ar, host, NULL)) {
case NETDB_SUCCESS:
err = 0;