X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=http_recv.c;h=cc376dd9a6e0c07c1dfe9f368aebdd1fbaf98c85;hb=7cb8fa26cfdcb3d34f8be2b86c48ffc6d7b9d84a;hp=bd234a02827c120dfe35b629d04fd8211da5bb3a;hpb=a118b7220a705ad1f7831270018ee357d40242db;p=paraslash.git diff --git a/http_recv.c b/http_recv.c index bd234a02..cc376dd9 100644 --- a/http_recv.c +++ b/http_recv.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2009 Andre Noll + * Copyright (C) 2005-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -165,8 +165,8 @@ static int http_recv_open(struct receiver_node *rn) { struct private_http_recv_data *phd; struct http_recv_args_info *conf = rn->conf; - int fd, ret = makesock(AF_UNSPEC, IPPROTO_TCP, 0, conf->host_arg, - conf->port_arg); + int fd, ret = para_connect_simple(IPPROTO_TCP, conf->host_arg, + conf->port_arg); if (ret < 0) return ret;