From: Art Cancro Date: Mon, 18 Jul 2011 20:45:06 +0000 (-0400) Subject: DBG_QR[2] now a configurable loggable X-Git-Tag: v8.01~122 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=9d61fbd813502a12ef4463d136be04cdeb34718e DBG_QR[2] now a configurable loggable --- diff --git a/webcit/roomops.c b/webcit/roomops.c index 3454a40a6..bcbbe24cb 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -56,7 +56,7 @@ ConstStr QR2FlagList[] = { {HKEY("")} }; -void DBG_QR(long QR) +void _DBG_QR(long QR) { int i = 1; int j=0; @@ -79,7 +79,7 @@ void DBG_QR(long QR) -void DBG_QR2(long QR2) +void _DBG_QR2(long QR2) { int i = 1; int j=0; diff --git a/webcit/webcit.h b/webcit/webcit.h index cb8128ac7..b55201cad 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -75,6 +75,10 @@ #define HTTP_TRACING 1 */ +#define DO_DBG_QR 0 +#define DBG_QR(x) if(DO_DBG_QR) _DBG_QR(x) +#define DBG_QR2(x) if(DO_DBG_QR) _DBG_QR2(x) + #ifdef HTTP_TRACING #undef HAVE_ZLIB_H #undef HAVE_ZLIB