X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=dccp_recv.c;h=3d6588ac4b338ad26c99c76276d0dc05ede9d115;hp=4cf8f5aedfe31c30f3f1ea890bc9569d816e5d15;hb=b8290b7cad010552873c5e640e56dbe9c901dfb1;hpb=027f2c1237051d2d569d6be7f381c886f659bac3 diff --git a/dccp_recv.c b/dccp_recv.c index 4cf8f5ae..3d6588ac 100644 --- a/dccp_recv.c +++ b/dccp_recv.c @@ -11,8 +11,13 @@ * (C) 2005 Ian McDonald */ +#include +#include #include #include +#include +#include +#include #include "para.h" #include "error.h" @@ -53,6 +58,7 @@ static int dccp_recv_open(struct receiver_node *rn) } fd = makesock(IPPROTO_DCCP, 0, conf->host_arg, conf->port_arg, fo); + flowopt_cleanup(fo); free(ccids); if (fd < 0) return fd; @@ -117,7 +123,6 @@ static void dccp_recv_pre_select(struct sched *s, struct task *t) { struct receiver_node *rn = container_of(t, struct receiver_node, task); - t->error = 0; if (generic_recv_pre_select(s, t) <= 0) return; para_fd_set(rn->fd, &s->rfds, &s->max_fileno);