mirror of
https://github.com/curl/curl.git
synced 2026-04-24 12:32:16 +03:00
don't do final newline output when using progress callback
This commit is contained in:
parent
3e0a95bb78
commit
2b44fdab2e
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue