mirror of
https://github.com/curl/curl.git
synced 2025-02-11 14:50:40 +08:00
don't do final newline output when using progress callback
This commit is contained in:
parent
3e0a95bb78
commit
2b44fdab2e
@ -97,7 +97,9 @@ void Curl_pgrsDone(struct connectdata *conn)
|
||||
if(!(data->progress.flags & PGRS_HIDE)) {
|
||||
data->progress.lastshow=0;
|
||||
Curl_pgrsUpdate(conn); /* the final (forced) update */
|
||||
fprintf(data->err, "\n");
|
||||
if(!data->progress.callback)
|
||||
/* only output if we don't use progress callback */
|
||||
fprintf(data->err, "\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user