diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-08-21 06:29:56 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-08-21 06:29:56 +0000 |
commit | d5fbfa3d0b975c112ff55d4924530ed3c69edd89 (patch) | |
tree | b7fd047abb25cc66bc7a774c8622a0659a7d6f40 | |
parent | 3a588fc9e70116f8f47be9f22cbb6f86b55634fa (diff) |
As Andrés García reported we need to fflush() the data->err so that the
progress meter looks better on windows (and if the data->err is redirected
from stderr it also makes a point)
-rw-r--r-- | lib/progress.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/progress.c b/lib/progress.c index af756a026..093c93083 100644 --- a/lib/progress.c +++ b/lib/progress.c @@ -327,5 +327,8 @@ int Curl_pgrsUpdate(struct connectdata *conn) max5data(data->progress.current_speed, max5[5]) /* current speed */ ); + /* we flush the output stream to make it appear as soon as possible */ + fflush(data->err); + return 0; } |