changeset 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 3e098639b05f
children bf29e6659fb9
files debug.h
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
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.