Mercurial > dropbear
diff 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 |
line wrap: on
line diff
--- a/debug.h Fri Jul 07 09:28:32 2006 +0000 +++ b/debug.h Sun Jul 09 14:58:19 2006 +0000 @@ -44,8 +44,10 @@ /* All functions writing to the cleartext payload buffer call * CHECKCLEARTOWRITE() before writing. This is only really useful if you're * attempting to track down a problem */ -#define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ - ses.writepayload->pos == 0) +/*#define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ + ses.writepayload->pos == 0)*/ + +#define CHECKCLEARTOWRITE() /* Define this, compile with -pg and set GMON_OUT_PREFIX=gmon to get gmon * output when Dropbear forks. This will allow it gprof to be used.