aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/progress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/progress.c b/lib/progress.c
index 79ba1b59d..8ad6821fe 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -113,7 +113,7 @@ void pgrsDone(struct UrlData *data)
if(!(data->progress.flags & PGRS_HIDE)) {
data->progress.lastshow=0;
pgrsUpdate(data); /* the final (forced) update */
- fprintf(stderr, "\n");
+ fprintf(data->err, "\n");
}
}
@@ -322,7 +322,7 @@ int pgrsUpdate(struct UrlData *data)
if(total_expected_transfer)
total_percen=(double)(total_transfer/total_expected_transfer)*100;
- fprintf(stderr,
+ fprintf(data->err,
"\r%3d %s %3d %s %3d %s %s %s %s %s %s %s",
(int)total_percen, /* total % */
max5data(total_expected_transfer, max5[2]), /* total size */