recv.c: Fix receiver node eof handling
authorAndre <maan@p133.(none)>
Sun, 2 Jul 2006 16:52:58 +0000 (18:52 +0200)
committerAndre <maan@p133.(none)>
Sun, 2 Jul 2006 16:52:58 +0000 (18:52 +0200)
recv.c

diff --git a/recv.c b/recv.c
index bfc7a45..3b1c691 100644 (file)
--- a/recv.c
+++ b/recv.c
@@ -60,7 +60,9 @@ static void *parse_config(int argc, char *argv[], int *receiver_num)
 
 void rn_event_handler(struct task *t)
 {
+       struct receiver_node *rn = t->private_data;
        PARA_NOTICE_LOG("%s\n", PARA_STRERROR(-t->ret));
+       rn->eof = 1;
        unregister_task(t);
 }