From: Steve Dickson Date: Fri, 8 Aug 2014 16:03:54 +0000 (-0400) Subject: Set the initial value of libtirpc_debug_level to zero X-Git-Tag: libtirpc-0-2-5-rc4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2bfb59d2278846aea78e8740a0d014e8d5592c10;p=libtirpc Set the initial value of libtirpc_debug_level to zero Signed-off-by: Steve Dickson --- diff --git a/src/debug.c b/src/debug.c index 3a9862e..b40ff37 100644 --- a/src/debug.c +++ b/src/debug.c @@ -28,7 +28,7 @@ #include "debug.h" /* library global debug level */ -int libtirpc_debug_level = 3; +int libtirpc_debug_level = 0; int log_stderr = 1; /* log to stderr instead of systlog */ /* @@ -46,7 +46,8 @@ libtirpc_set_debug(char *name, int level, int use_stderr) if (!use_stderr) openlog(name, LOG_PID, LOG_DAEMON); - LIBTIRPC_DEBUG(1, ("libtirpc: debug level %d", level)); + libtirpc_debug_level = level; + LIBTIRPC_DEBUG(1, ("libtirpc: debug level %d", libtirpc_debug_level)); } void