cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [PATCH] --progress-bar

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Mar 2002 17:11:37 +0100 (MET)

On Fri, 8 Mar 2002, Daniel Stenberg wrote:

> I consider this patch pretty safe, you could very well apply it.

Uh! Of course I mean, after *this* has been applied as well it feel safe.

--- main.c 8 Mar 2002 15:18:03 -0000 1.114
+++ main.c 8 Mar 2002 16:11:22 -0000
@@ -2409,7 +2409,8 @@

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

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-08