From: Marcel Poul Date: Thu, 17 Nov 2011 22:09:59 +0000 (+0000) Subject: orphaned error check removed X-Git-Tag: merge_30_head_take2_dst~22 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b6cec186407d680e9f15377602e5af403714b4ac;p=jra1mw.git orphaned error check removed --- diff --git a/emi.canl.canl-c/src/canl.c b/emi.canl.canl-c/src/canl.c index 86a229b..0f58dad 100644 --- 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;