From 500dbfd92ee52df131d21061ea70ec58c8e256c6 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 18 Jul 2011 16:45:06 -0400 Subject: [PATCH] DBG_QR[2] now a configurable loggable --- webcit/roomops.c | 4 ++-- webcit/webcit.h | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/webcit/roomops.c b/webcit/roomops.c index 11e536acd..8a3b4dfa4 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -41,7 +41,7 @@ ConstStr QR2FlagList[] = { {HKEY("")} }; -void DBG_QR(long QR) +void _DBG_QR(long QR) { int i = 1; int j=0; @@ -64,7 +64,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 cd12d7d98..eacb045aa 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -74,6 +74,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 -- 2.30.2