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)
This commit is contained in:
Daniel Stenberg 2001-08-21 06:29:56 +00:00
Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ 3a588fc9e7
ΠšΠΎΠΌΠΌΠΈΡ‚ d5fbfa3d0b
1 ΠΈΠ·ΠΌΠ΅Π½Ρ‘Π½Π½Ρ‹Ρ… Ρ„Π°ΠΉΠ»ΠΎΠ²: 3 Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠΉ ΠΈ 0 ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠΉ

ΠŸΡ€ΠΎΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ Ρ„Π°ΠΉΠ»

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