mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-18 03:45:25 -04:00
Defer forwarding messages during the forwarding of flist data.
This commit is contained in:
4
io.c
4
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user