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);
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)
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();