From a1e58132eacf841001b1caf29ea6964e3e28adfd Mon Sep 17 00:00:00 2001 From: Andre Date: Thu, 15 Jun 2006 10:50:38 +0200 Subject: [PATCH] fix thinko in para_client's para_log() --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index d2f46433..69e0f3d3 100644 --- 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); -- 2.39.5