comparison dbutil.c @ 1319:21156be2bb26

ses.debug_trace is wrong
author Matt Johnston <matt@ucc.asn.au>
date Thu, 01 Sep 2016 23:08:56 +0800
parents 750ec4ec4cbe
children 185c14fa504d 8747c2b19152
comparison
equal deleted inserted replaced
1316:2c9dac2d6707 1319:21156be2bb26
180 } 180 }
181 181
182 void dropbear_trace(const char* format, ...) { 182 void dropbear_trace(const char* format, ...) {
183 va_list param; 183 va_list param;
184 184
185 if (!ses.debug_trace) { 185 if (!debug_trace) {
186 return; 186 return;
187 } 187 }
188 188
189 va_start(param, format); 189 va_start(param, format);
190 fprintf(stderr, "TRACE (%d) %f: ", getpid(), time_since_start()); 190 fprintf(stderr, "TRACE (%d) %f: ", getpid(), time_since_start());