From: Daniel Stenberg Date: Fri, 8 Mar 2002 16:12:00 +0000 (+0000) Subject: completed the progress-bar fix X-Git-Tag: curl-7_9_6~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=feacb4b4819574c2b51ea72144a02296d9b5ad70;p=curl completed the progress-bar fix --- 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);