From: Wayne Davison Date: Sat, 20 Jan 2007 20:19:24 +0000 (+0000) Subject: We need to call msg2sndr_flush() in read_msg_fd() now. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/4afab316073bed7dbd6215f788daf753e83c342e We need to call msg2sndr_flush() in read_msg_fd() now. --- diff --git a/io.c b/io.c index 915d21db..567065b9 100644 --- a/io.c +++ b/io.c @@ -107,6 +107,7 @@ static char int_byte_cnt[64] = { 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 8, 9, /* (C0 - FF)/4 */ }; +static void msg2sndr_flush(void); static void readfd(int fd, char *buffer, size_t N); static void writefd(int fd, const char *buf, size_t len); static void writefd_unbuffered(int fd, const char *buf, size_t len); @@ -360,6 +361,7 @@ static void read_msg_fd(void) defer_forwarding_messages--; msg_fd_in = fd; + msg2sndr_flush(); } /* This is used by the generator to limit how many file transfers can