Mercurial > dropbear
comparison debug.h @ 398:59c7938af2bd
merge of '1250b8af44b62d8f4fe0f8d9fc7e7a1cc34e7e1c'
and '7f8670ac3bb975f40967f3979d09d2199b7e90c8'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 03 Feb 2007 08:20:30 +0000 |
parents | ffbe6f691ca3 |
children | ed24dfc44904 |
comparison
equal
deleted
inserted
replaced
396:e7c1a77d2921 | 398:59c7938af2bd |
---|---|
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) */ |