From: Andre Date: Tue, 6 Jun 2006 06:10:16 +0000 (+0200) Subject: client: always log to stderr X-Git-Tag: v0.2.14~70 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=5124ade7db7ee2eef8a8a6acae2a398d82a666cc;hp=3f17a6b0fb4dc1687fb722d0e6033ed26c46c6fd client: always log to stderr --- diff --git a/client.c b/client.c index 9b39acd3..914c5fb9 100644 --- a/client.c +++ b/client.c @@ -40,12 +40,8 @@ void para_log(int ll, const char* fmt,...) /* ignore log message if loglevel is not high enough */ if (ll < args_info.loglevel_arg) return; - if (ll < WARNING) - outfd = stdout; - else - outfd = stderr; va_start(argp, fmt); - vfprintf(stdout, fmt, argp); + vfprintf(stderr, fmt, argp); va_end(argp); }