diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-11-16 07:20:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-11-16 07:20:12 +0000 |
commit | 77bbbd868b13dab04febcdd9086eac2fa0c8c27f (patch) | |
tree | 4dc15a62e23b77ae7322ac699aaf2b8eca4ac79d /lib | |
parent | 3b91db110b2b60e40eb90e2f6353414b584d9d41 (diff) |
data->err must be used, not stderr
Diffstat (limited to 'lib')
-rw-r--r-- | lib/progress.c | 4 |
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 */ |