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
This commit is contained in:
Matt Johnston 2004-08-22 09:23:11 +00:00
parent 3840a482c7
commit 545ce7d8bf

View File

@ -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)