X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client_common.c;h=197f031c476a79ee00bc2143945356a20330595c;hp=f3c96aada17a5bfe219038edce2a8feebe290a3b;hb=635ffa801ce0d4f5055ad022a5de935acd83b056;hpb=ed0c68b07ddbc130e033035baa1cc0862e511b46 diff --git a/client_common.c b/client_common.c index f3c96aad..197f031c 100644 --- a/client_common.c +++ b/client_common.c @@ -311,8 +311,8 @@ static int client_connect(struct client_task *ct) int ret; ct->rc4c.fd = -1; - ret = makesock(AF_UNSPEC, IPPROTO_TCP, 0, ct->conf.hostname_arg, - ct->conf.server_port_arg, NULL); + ret = para_connect_simple(IPPROTO_TCP, ct->conf.hostname_arg, + ct->conf.server_port_arg); if (ret < 0) return ret; ct->rc4c.fd = ret;