X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=client_common.c;h=197f031c476a79ee00bc2143945356a20330595c;hb=a5927501e41fa3fca2975452617474e78ffecc48;hp=1536bb2e965ec94007fc81def6edbfac1d16b444;hpb=162edbbffe5741b2182ba5ad393bc8303c2dec8c;p=paraslash.git diff --git a/client_common.c b/client_common.c index 1536bb2e..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); + ret = para_connect_simple(IPPROTO_TCP, ct->conf.hostname_arg, + ct->conf.server_port_arg); if (ret < 0) return ret; ct->rc4c.fd = ret;