From: Wayne Davison Date: Sat, 30 May 2020 12:53:59 +0000 (-0700) Subject: Avoid noop_io_until_death() if --msgs2stderr was specified. X-Git-Tag: v3.2.0pre1~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d619a87aa527a9d74ba7ee03ba4b9eb1cb4d8b16;p=thirdparty%2Frsync.git Avoid noop_io_until_death() if --msgs2stderr was specified. --- diff --git a/io.c b/io.c index e6cfbbda..999c34e5 100644 --- a/io.c +++ b/io.c @@ -915,7 +915,7 @@ void noop_io_until_death(void) { char buf[1024]; - if (!iobuf.in.buf || !iobuf.out.buf || iobuf.in_fd < 0 || iobuf.out_fd < 0 || kluge_around_eof) + if (!iobuf.in.buf || !iobuf.out.buf || iobuf.in_fd < 0 || iobuf.out_fd < 0 || kluge_around_eof || msgs2stderr) return; kluge_around_eof = 2;