]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
fflush(stdout) after each line of stats
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 3 Dec 2003 22:45:32 +0000 (22:45 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 3 Dec 2003 22:45:32 +0000 (22:45 +0000)
[originally from svn r3614]

scp.c

diff --git a/scp.c b/scp.c
index 70f13be97e1fd217fead35f6f6c802b3bd73b256..79d3f9aec5ae376f3fafea58175b92a885549636 100644 (file)
--- 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);
     }
 }