]> git.vomp.tv Git - vompserver.git/commitdiff
Code cleaning
authorChris Tallon <chris@vomp.tv>
Thu, 17 Jul 2008 19:58:36 +0000 (19:58 +0000)
committerChris Tallon <chris@vomp.tv>
Thu, 17 Jul 2008 19:58:36 +0000 (19:58 +0000)
config.c
responsepacket.c
vompclientrrproc.c

index 5ab6f4be8c0c72121a6c01ce8ba4d86728d0e9a6..3866abc7582c069e27a8e3a9f3132185afbd011c 100644 (file)
--- a/config.c
+++ b/config.c
@@ -116,7 +116,7 @@ void Config::closeFile()
 int Config::readLine()
 {
   if (!initted || !file) { log->log("Config", Log::DEBUG, "1"); return 0; }
-  if (!fgets(buffer, BUFFER_LENGTH-1, file)) { log->log("Config", Log::DEBUG, "2"); return 0; }
+  if (!fgets(buffer, BUFFER_LENGTH-1, file)) { /*log->log("Config", Log::DEBUG, "2");*/ return 0; }
   lastLineLength = strlen(buffer);
 //  log->log("Config", Log::DEBUG, "buffer before trim: '%s'", buffer);
   trim(buffer);
index d190f8676799ad996f6d108dc22ab556c756112a..60bfa1aeb8d9f64b743c3328e0a273d635907cf3 100644 (file)
@@ -64,7 +64,7 @@ bool ResponsePacket::init(ULONG requestID)
 void ResponsePacket::finalise()
 {
   *(ULONG*)&buffer[userDataLenPos] = htonl(bufUsed - headerLength);
-  Log::getInstance()->log("Client", Log::DEBUG, "RP finalise %lu", bufUsed - headerLength);
+  //Log::getInstance()->log("Client", Log::DEBUG, "RP finalise %lu", bufUsed - headerLength);
 }
 
 bool ResponsePacket::copyin(const UCHAR* src, ULONG len)
index 824000f0df1d818decd44ea1915f60e293f91946..29d84b020223f715d6ec4c6919e79440eb277f44 100644 (file)
@@ -104,7 +104,7 @@ void VompClientRRProc::threadMethod()
 
     while (req_queue.size()) 
     {
-      log->log("RRProc", Log::DEBUG, "thread while");
+      //log->log("RRProc", Log::DEBUG, "thread while");
       req = req_queue.front();
       req_queue.pop();