Defer forwarding messages during the forwarding of flist data.

This commit is contained in:
Wayne Davison
2009-12-21 13:48:44 -08:00
parent a21264a8b9
commit 96cce18ce6

4
io.c
View File

@@ -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);
}