summaryrefslogtreecommitdiff
path: root/lib/progress.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-26 14:33:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-26 14:33:13 +0000
commitffe17a8197e73b791f6b1609bdcdc3a40818acdc (patch)
treedc63ee23b52be1a8c3fd2bf191a32ac4bda92dbd /lib/progress.c
parent2459e1e268ab5f989a8d8b4cbd17aea1b0b0e91d (diff)
downloadcurl-ffe17a8197e73b791f6b1609bdcdc3a40818acdc.tar.gz
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/progress.c')
-rw-r--r--lib/progress.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/progress.c b/lib/progress.c
index 55f316acc..ce1adb805 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -139,10 +139,8 @@ void Curl_pgrsDone(struct connectdata *conn)
struct SessionHandle *data = conn->data;
data->progress.lastshow=0;
Curl_pgrsUpdate(conn); /* the final (forced) update */
- 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");
+
+ data->progress.speeder_c = 0; /* reset the progress meter display */
}
/* reset all times except redirect */