diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-01-24 15:27:58 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-01-24 15:28:46 +0100 |
commit | 02b7280681a161716283dc574a85989f2f4d99cd (patch) | |
tree | dd91a9129a51ce01b07d813b080eff681e108121 | |
parent | 494f02e08a0dbc14c66537038c34ef6cefec9b66 (diff) | |
download | curl-02b7280681a161716283dc574a85989f2f4d99cd.tar.gz |
progress-bar: don't use stderr explicitly, use bar->out
Reported-By: Gisle Vanem
Bug: https://github.com/curl/curl/commit/993dd5651a6c853bfe3870f6a69c7b329fa4e8ce#commitcomment-27070080
-rw-r--r-- | src/tool_cb_prg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_cb_prg.c b/src/tool_cb_prg.c index cf3251b29..286a3ffbc 100644 --- a/src/tool_cb_prg.c +++ b/src/tool_cb_prg.c @@ -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; |