DBG_QR[2] now a configurable loggable
authorArt Cancro <ajc@uncensored.citadel.org>
Mon, 18 Jul 2011 20:45:06 +0000 (16:45 -0400)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 19 Jul 2011 21:34:11 +0000 (21:34 +0000)
webcit/roomops.c
webcit/webcit.h

index 11e536acd56e3c30a4538af278d623445b37a75a..8a3b4dfa4fe3f619d8d838e976bf95e78bf7e882 100644 (file)
@@ -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;
index cd12d7d98c0a5bc288952ccdfc762953bbd56be1..eacb045aa3fd273d90c80e829210dcb116e437d0 100644 (file)
 #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