Mercurial > dropbear
diff debug.h @ 94:c85c88500ea6
DEBUG_TRACE now only triggers with -v on the cmdline
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 18 Aug 2004 15:48:25 +0000 |
parents | a54d20c96178 |
children | d3eb1fa8484e |
line wrap: on
line diff
--- a/debug.h Wed Aug 18 12:42:21 2004 +0000 +++ b/debug.h Wed Aug 18 15:48:25 2004 +0000 @@ -33,9 +33,11 @@ * etc. Don't use this normally, it might cause problems */ /* #define DEBUG_VALGRIND */ -/* Define this to print trace statements - very verbose */ -/* Caution: Don't use this in an unfriendly environment (ie unfirewalled), - * since the printing does not sanitise strings etc */ +/* Define this to compile in trace debugging printf()s. You'll need to + * run programs with "-v" to turn this on. + * 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 */ /* All functions writing to the cleartext payload buffer call