From 6a12d79ad916588a64ea6959e05ce9122ef118b3 Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 2 Jul 2006 18:52:58 +0200 Subject: [PATCH] recv.c: Fix receiver node eof handling --- recv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recv.c b/recv.c index bfc7a45d..3b1c6917 100644 --- 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); } -- 2.39.5