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

index 3454a40a6e36c9ba233bfd7b96361dc15f549585..bcbbe24cb535e70a5a9a9c0a7d9f07b1dfdbc4b3 100644 (file)
@@ -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;
index cb8128ac72234251c1475461cf7769d169ab9a1a..b55201cadf7ca7e26e18461b44c17fe47137ef7e 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