diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/progress.c | 6 | ||||
-rw-r--r-- | lib/transfer.c | 5 |
2 files changed, 7 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 */ 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; } |