mirror of
https://github.com/moparisthebest/curl
synced 2024-11-04 16:45:06 -05:00
progress-bar: don't use stderr explicitly, use bar->out
Reported-By: Gisle Vanem
Bug: 993dd5651a (commitcomment-27070080)
This commit is contained in:
parent
494f02e08a
commit
02b7280681
@ -78,7 +78,7 @@ static void fly(struct ProgressData *bar, bool moved)
|
||||
pos = sinus[(bar->tick + 15)%200] / (10000 / check);
|
||||
buf[pos] = '#';
|
||||
|
||||
fputs(buf, stderr);
|
||||
fputs(buf, bar->out);
|
||||
bar->tick += 2;
|
||||
if(bar->tick >= 200)
|
||||
bar->tick -= 200;
|
||||
|
Loading…
Reference in New Issue
Block a user