Mercurial > dropbear
comparison debug.h @ 7:425ed5c20157
Chantype handling is sorted
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 02 Jun 2004 04:59:49 +0000 |
parents | ab00ef513e97 |
children | c1e5d9195402 |
comparison
equal
deleted
inserted
replaced
6:ab00ef513e97 | 7:425ed5c20157 |
---|---|
32 /* Work well for valgrind - don't clear environment, be nicer with signals | 32 /* Work well for valgrind - don't clear environment, be nicer with signals |
33 * etc. Don't use this normally, it might cause problems */ | 33 * etc. Don't use this normally, it might cause problems */ |
34 /* #define DEBUG_VALGRIND */ | 34 /* #define DEBUG_VALGRIND */ |
35 | 35 |
36 /* Define this to print trace statements - very verbose */ | 36 /* Define this to print trace statements - very verbose */ |
37 #define DEBUG_TRACE | 37 /* Caution: Don't use this in an unfriendly environment (ie unfirewalled), |
38 * since the printing does not sanitise strings etc */ | |
39 /*#define DEBUG_TRACE*/ | |
38 | 40 |
39 /* All functions writing to the cleartext payload buffer call | 41 /* All functions writing to the cleartext payload buffer call |
40 * CHECKCLEARTOWRITE() before writing. This is only really useful if you're | 42 * CHECKCLEARTOWRITE() before writing. This is only really useful if you're |
41 * attempting to track down a problem */ | 43 * attempting to track down a problem */ |
42 #define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ | 44 #define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ |