mirror of https://github.com/moparisthebest/curl
completed the progress-bar fix
This commit is contained in:
parent
fe3c874001
commit
feacb4b481
|
@ -2409,7 +2409,8 @@ operate(struct Configurable *config, int argc, char *argv[])
|
|||
|
||||
res = curl_easy_perform(curl);
|
||||
|
||||
if(progressbar.calls) {
|
||||
if((config->progressmode == CURL_PROGRESS_BAR) &&
|
||||
progressbar.calls) {
|
||||
/* if the custom progress bar has been displayed, we output a
|
||||
newline here */
|
||||
fputs("\n", progressbar.out);
|
||||
|
|
Loading…
Reference in New Issue