comparison debug.h @ 343:ffbe6f691ca3

CHECKCLEARTOWRITE() can normally be defined blank
author Matt Johnston <matt@ucc.asn.au>
date Sun, 09 Jul 2006 14:58:19 +0000
parents 161557a9dde8
children ed24dfc44904
comparison
equal deleted inserted replaced
342:3e098639b05f 343:ffbe6f691ca3
42 /*#define DEBUG_TRACE */ 42 /*#define DEBUG_TRACE */
43 43
44 /* All functions writing to the cleartext payload buffer call 44 /* All functions writing to the cleartext payload buffer call
45 * CHECKCLEARTOWRITE() before writing. This is only really useful if you're 45 * CHECKCLEARTOWRITE() before writing. This is only really useful if you're
46 * attempting to track down a problem */ 46 * attempting to track down a problem */
47 #define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ 47 /*#define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \
48 ses.writepayload->pos == 0) 48 ses.writepayload->pos == 0)*/
49
50 #define CHECKCLEARTOWRITE()
49 51
50 /* Define this, compile with -pg and set GMON_OUT_PREFIX=gmon to get gmon 52 /* Define this, compile with -pg and set GMON_OUT_PREFIX=gmon to get gmon
51 * output when Dropbear forks. This will allow it gprof to be used. 53 * output when Dropbear forks. This will allow it gprof to be used.
52 * It's useful to run dropbear -F, so you don't fork as much */ 54 * It's useful to run dropbear -F, so you don't fork as much */
53 /* (This is Linux specific) */ 55 /* (This is Linux specific) */