gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 03/150: progress-bar: don't use stderr explicitly,


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 03/150: progress-bar: don't use stderr explicitly, use bar->out
Date: Fri, 30 Mar 2018 16:47:37 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 02b7280681a161716283dc574a85989f2f4d99cd
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Jan 24 15:27:58 2018 +0100

    progress-bar: don't use stderr explicitly, use bar->out
    
    Reported-By: Gisle Vanem
    Bug: 
https://github.com/curl/curl/commit/993dd5651a6c853bfe3870f6a69c7b329fa4e8ce#commitcomment-27070080
---
 src/tool_cb_prg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tool_cb_prg.c b/src/tool_cb_prg.c
index cf3251b29..286a3ffbc 100644
--- a/src/tool_cb_prg.c
+++ b/src/tool_cb_prg.c
@@ -78,7 +78,7 @@ static void fly(struct ProgressData *bar, bool moved)
   pos = sinus[(bar->tick + 15)%200] / (10000 / check);
   buf[pos] = '#';
 
-  fputs(buf, stderr);
+  fputs(buf, bar->out);
   bar->tick += 2;
   if(bar->tick >= 200)
     bar->tick -= 200;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]