Add the mosx Authors to CREDITS
[paraslash.git] / 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);
 }