projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0f42a
)
fix thinko in para_client's para_log()
author
Andre
<maan@p133.(none)>
Thu, 15 Jun 2006 08:50:38 +0000
(10:50 +0200)
committer
Andre
<maan@p133.(none)>
Thu, 15 Jun 2006 08:50:38 +0000
(10:50 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index
d2f4643
..
69e0f3d
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-42,7
+42,7
@@
void para_log(int ll, const char* fmt,...)
va_list argp;
/* ignore log message if loglevel is not high enough */
- if (
pcd &&
ll < pcd->conf.loglevel_arg)
+ if (
!pcd ||
ll < pcd->conf.loglevel_arg)
return;
va_start(argp, fmt);
vfprintf(stderr, fmt, argp);