From 1c1c9d3ccf560208bdfccbfc2fbaa119e9a5872b Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Wed, 3 Dec 2003 22:45:32 +0000 Subject: [PATCH] fflush(stdout) after each line of stats [originally from svn r3614] --- scp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scp.c b/scp.c index 70f13be9..79d3f9ae 100644 --- a/scp.c +++ b/scp.c @@ -466,6 +466,8 @@ static void print_stats(char *name, unsigned long size, unsigned long done, if (done == size) printf("\n"); + + fflush(stdout); } } -- 2.45.2