From: Daniel Stenberg Date: Tue, 21 Aug 2001 06:29:56 +0000 (+0000) Subject: As Andrés García reported we need to fflush() the data->err so that the X-Git-Tag: before_urldata_rename~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5fbfa3d0b975c112ff55d4924530ed3c69edd89;p=thirdparty%2Fcurl.git 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) --- diff --git a/lib/progress.c b/lib/progress.c index af756a0262..093c93083a 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; }