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 9b39acd371e9efb36622c9b5b93a51169038a8be..914c5fb93d4a58d4cf79ec75475da4d3ccb73640 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);
 }