aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-03-08 16:12:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-03-08 16:12:00 +0000
commitfeacb4b4819574c2b51ea72144a02296d9b5ad70 (patch)
treea56468ccd7d2cff4d844f3fb08f426797cfd426c /src
parentfe3c8740010a9ca421606db87adcabe9a5432d55 (diff)
completed the progress-bar fix
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
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);