From 545ce7d8bfac96e4731bdf7379a65374e306ba09 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sun, 22 Aug 2004 09:23:11 +0000 Subject: [PATCH] Fix for printing out things with inetd mode when we have DEBUG_TRACE compiled in but no -v: we don't want to print messages out since it goes to the socket (and over the wire - bad). --HG-- extra : convert_revision : f18a0cff74b01ad04543718db6aac12857851b3c --- svr-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svr-session.c b/svr-session.c index a24765d..f37e81b 100644 --- a/svr-session.c +++ b/svr-session.c @@ -168,7 +168,7 @@ void svr_dropbear_log(int priority, const char* format, va_list param) { /* if we are using DEBUG_TRACE, we want to print to stderr even if * syslog is used, so it is included in error reports */ #ifdef DEBUG_TRACE - havetrace = 1; + havetrace = debug_trace; #endif if (!svr_opts.usingsyslog || havetrace)