1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38:49 -05:00

As Andrs Garca 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)
This commit is contained in:
Daniel Stenberg 2001-08-21 06:29:56 +00:00
parent 3a588fc9e7
commit d5fbfa3d0b

View File

@ -327,5 +327,8 @@ int Curl_pgrsUpdate(struct connectdata *conn)
max5data(data->progress.current_speed, max5[5]) /* current speed */ 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; return 0;
} }