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
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}