From 3b0fe2cd71023edc28f3ad660d05ccd4420d5998 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Thu, 17 Jul 2008 19:58:36 +0000 Subject: [PATCH] Code cleaning --- config.c | 2 +- responsepacket.c | 2 +- vompclientrrproc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.c b/config.c index 5ab6f4b..3866abc 100644 --- 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); diff --git a/responsepacket.c b/responsepacket.c index d190f86..60bfa1a 100644 --- a/responsepacket.c +++ b/responsepacket.c @@ -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) diff --git a/vompclientrrproc.c b/vompclientrrproc.c index 824000f..29d84b0 100644 --- a/vompclientrrproc.c +++ b/vompclientrrproc.c @@ -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(); -- 2.39.2