summaryrefslogtreecommitdiffhomepage
path: root/debug.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-01 00:07:26 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-01 00:07:26 +0800
commit90cf7f012cdc6143752464bc9bb2b4a9f94f7132 (patch)
tree9c2f0e8e778daa2b18b76c32f4ee826deaec70c6 /debug.h
parent484516da516037d37747319e9b7cff91bffb6a4a (diff)
Move the more verbose TRACE() statements into TRACE2()
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug.h b/debug.h
index b20e685..289c577 100644
--- a/debug.h
+++ b/debug.h
@@ -39,7 +39,7 @@
* Caution: Don't use this in an unfriendly environment (ie unfirewalled),
* since the printing may not sanitise strings etc. This will add a reasonable
* amount to your executable size. */
-/*#define DEBUG_TRACE */
+/* #define DEBUG_TRACE */
/* All functions writing to the cleartext payload buffer call
* CHECKCLEARTOWRITE() before writing. This is only really useful if you're
@@ -63,8 +63,10 @@
/* you don't need to touch this block */
#ifdef DEBUG_TRACE
#define TRACE(X) dropbear_trace X;
+#define TRACE2(X) dropbear_trace2 X;
#else /*DEBUG_TRACE*/
#define TRACE(X)
+#define TRACE2(X)
#endif /*DEBUG_TRACE*/
/* To debug with GDB it is easier to run with no forking of child processes.