Mercurial > dropbear
comparison debug.h @ 6:ab00ef513e97
Sorted out the first channel init issues.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 01 Jun 2004 10:48:46 +0000 |
parents | fe6bca95afa7 |
children | 425ed5c20157 |
comparison
equal
deleted
inserted
replaced
5:bc6477a6c393 | 6:ab00ef513e97 |
---|---|
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 #define DEBUG_TRACE |
38 | 38 |
39 /* All functions writing to the cleartext payload buffer call | 39 /* All functions writing to the cleartext payload buffer call |
40 * CHECKCLEARTOWRITE() before writing. This is only really useful if you're | 40 * CHECKCLEARTOWRITE() before writing. This is only really useful if you're |
41 * attempting to track down a problem */ | 41 * attempting to track down a problem */ |
42 #define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ | 42 #define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ |