Mercurial > dropbear
comparison svr-session.c @ 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 | eee77ac31ccc |
children | 8c2b3506f112 |
comparison
equal
deleted
inserted
replaced
97:27e633c92158 | 98:297167ef41bd |
---|---|
166 #endif | 166 #endif |
167 | 167 |
168 /* if we are using DEBUG_TRACE, we want to print to stderr even if | 168 /* if we are using DEBUG_TRACE, we want to print to stderr even if |
169 * syslog is used, so it is included in error reports */ | 169 * syslog is used, so it is included in error reports */ |
170 #ifdef DEBUG_TRACE | 170 #ifdef DEBUG_TRACE |
171 havetrace = 1; | 171 havetrace = debug_trace; |
172 #endif | 172 #endif |
173 | 173 |
174 if (!svr_opts.usingsyslog || havetrace) | 174 if (!svr_opts.usingsyslog || havetrace) |
175 { | 175 { |
176 timesec = time(NULL); | 176 timesec = time(NULL); |