X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=http_recv.c;h=cc376dd9a6e0c07c1dfe9f368aebdd1fbaf98c85;hp=107bfdcdf576bb452bb8d32d38b3ebe71488b9e1;hb=6668ac4a8c7f2a92efb9e6d405d954beff77d230;hpb=ed0c68b07ddbc130e033035baa1cc0862e511b46 diff --git a/http_recv.c b/http_recv.c index 107bfdcd..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, NULL); + int fd, ret = para_connect_simple(IPPROTO_TCP, conf->host_arg, + conf->port_arg); if (ret < 0) return ret;