added --progress option which shows the progress of transfers. This
[rsync/rsync.git] / log.c
diff --git a/log.c b/log.c
index 71eb234..2454088 100644 (file)
--- 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--;
 }