summaryrefslogtreecommitdiffhomepage
path: root/debug.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2006-07-09 14:58:19 +0000
committerMatt Johnston <matt@ucc.asn.au>2006-07-09 14:58:19 +0000
commit92cf98c77b39fbdb6c56ead134f2c493c6ceadf7 (patch)
tree0e2340f6669d5e65f3e3a94fe9d328ea6f021b63 /debug.h
parent60797cb25fec087ad38076fbf50dd813fb461166 (diff)
CHECKCLEARTOWRITE() can normally be defined blank
--HG-- extra : convert_revision : b59d9b3648d8fc72e8702a1013a1c6926d46ab2e
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/debug.h b/debug.h
index 93cb891..0cb4691 100644
--- a/debug.h
+++ b/debug.h
@@ -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.