]> granicus.if.org Git - curl/commitdiff
completed the progress-bar fix
authorDaniel Stenberg <daniel@haxx.se>
Fri, 8 Mar 2002 16:12:00 +0000 (16:12 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 8 Mar 2002 16:12:00 +0000 (16:12 +0000)
src/main.c

index 885a515eeda583eda2e1c69e544f7e79361bc4b2..24b53283d98b976257a86ca8fd78baa292a5df59 100644 (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);