Unverified Commit 02b72806 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

progress-bar: don't use stderr explicitly, use bar->out

parent 494f02e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;