summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-22 09:23:11 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-22 09:23:11 +0000
commit545ce7d8bfac96e4731bdf7379a65374e306ba09 (patch)
tree4ee0e82fa519a3b73593e65e5b7ff469bb1adbe3
parent3840a482c7e7eb5d7e39752398b43c9e78695022 (diff)
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
-rw-r--r--svr-session.c2
1 files changed, 1 insertions, 1 deletions
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)