projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3f17a6b
)
client: always log to stderr
author
Andre
<maan@p133.(none)>
Tue, 6 Jun 2006 06:10:16 +0000
(08:10 +0200)
committer
Andre
<maan@p133.(none)>
Tue, 6 Jun 2006 06:10:16 +0000
(08:10 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/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(std
out
, fmt, argp);
+ vfprintf(std
err
, fmt, argp);
va_end(argp);
}