X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/8d9dc9f99db13d42272b7c150f2e6849331ccdc1..bd7e05d7996e67cf12a0b01fe9286ef2813432f4:/log.c diff --git a/log.c b/log.c index 71eb234d..2454088e 100644 --- a/log.c +++ b/log.c @@ -102,6 +102,8 @@ void rprintf(int fd, const char *format, ...) if (fwrite(buf, len, 1, f) != 1) exit_cleanup(1); + if (buf[len-1] == '\r') fflush(f); + depth--; }