From 96cce18ce67f132a851c4e37b03fd09b8683233a Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 21 Dec 2009 13:48:44 -0800 Subject: [PATCH] Defer forwarding messages during the forwarding of flist data. --- io.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/io.c b/io.c index 5b3c2ad1..578d2562 100644 --- a/io.c +++ b/io.c @@ -970,11 +970,13 @@ void start_flist_forward(int f_in) assert(iobuf_out != NULL); assert(iobuf_f_out == msg_fd_out); flist_forward_from = f_in; + defer_forwarding_messages++; } -void stop_flist_forward() +void stop_flist_forward(void) { flist_forward_from = -1; + defer_forwarding_messages--; io_flush(FULL_FLUSH); } -- 2.47.3