client: always log to stderr
authorAndre <maan@p133.(none)>
Tue, 6 Jun 2006 06:10:16 +0000 (08:10 +0200)
committerAndre <maan@p133.(none)>
Tue, 6 Jun 2006 06:10:16 +0000 (08:10 +0200)
client.c

index 9b39acd..914c5fb 100644 (file)
--- 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);
 }