changeset 98:297167ef41bd

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).
author Matt Johnston <matt@ucc.asn.au>
date Sun, 22 Aug 2004 09:23:11 +0000
parents 27e633c92158
children 0247fbd9379d
files svr-session.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/svr-session.c	Thu Aug 19 15:27:47 2004 +0000
+++ b/svr-session.c	Sun Aug 22 09:23:11 2004 +0000
@@ -168,7 +168,7 @@
 	/* 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)