diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-11-26 14:33:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-11-26 14:33:13 +0000 |
commit | ffe17a8197e73b791f6b1609bdcdc3a40818acdc (patch) | |
tree | dc63ee23b52be1a8c3fd2bf191a32ac4bda92dbd /lib/transfer.c | |
parent | 2459e1e268ab5f989a8d8b4cbd17aea1b0b0e91d (diff) |
As reported in Mandrake's bug tracker bug 12289
(http://qa.mandrakesoft.com/show_bug.cgi?id=12289), curl would print a newline
to "finish" the progress meter after each redirect and not only after a
completed transfer.
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 5e8333538..017784552 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -1657,6 +1657,11 @@ CURLcode Curl_posttransfer(struct SessionHandle *data) (void)data; /* unused parameter */ #endif + if(!(data->progress.flags & PGRS_HIDE) && + !data->progress.callback) + /* only output if we don't use a progress callback and we're not hidden */ + fprintf(data->set.err, "\n"); + return CURLE_OK; } |