fflush(stdout) after each line of stats
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 3 Dec 2003 22:45:32 +0000 (22:45 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 3 Dec 2003 22:45:32 +0000 (22:45 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@3614 cda61777-01e9-0310-a592-d414129be87e

scp.c

diff --git a/scp.c b/scp.c
index 70f13be..79d3f9a 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);
     }
 }