From feacb4b4819574c2b51ea72144a02296d9b5ad70 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 8 Mar 2002 16:12:00 +0000 Subject: [PATCH] completed the progress-bar fix --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 885a515ee..24b53283d 100644 --- a/src/main.c +++ b/src/main.c @@ -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);