Mercurial > dropbear
comparison dbutil.c @ 485:12d845ab7b5f dbclient-netcat-alike
Rework netcat-alike to be a proper mode, with -B argument.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 17 Sep 2008 14:36:49 +0000 |
parents | c216212001fc |
children | d59f628e7baa |
comparison
equal
deleted
inserted
replaced
478:d4f32c3443ac | 485:12d845ab7b5f |
---|---|
144 if (!debug_trace) { | 144 if (!debug_trace) { |
145 return; | 145 return; |
146 } | 146 } |
147 | 147 |
148 va_start(param, format); | 148 va_start(param, format); |
149 fprintf(stderr, "TRACE: "); | 149 fprintf(stderr, "TRACE (%d): ", getpid()); |
150 vfprintf(stderr, format, param); | 150 vfprintf(stderr, format, param); |
151 fprintf(stderr, "\n"); | 151 fprintf(stderr, "\n"); |
152 va_end(param); | 152 va_end(param); |
153 } | 153 } |
154 #endif /* DEBUG_TRACE */ | 154 #endif /* DEBUG_TRACE */ |