completed the progress-bar fix

This commit is contained in:
Daniel Stenberg 2002-03-08 16:12:00 +00:00
parent fe3c874001
commit feacb4b481
1 changed files with 2 additions and 1 deletions

View File

@ -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);