forked from oerkki/voxelands
get rid of some debug printfs
This commit is contained in:
parent
5c594840bb
commit
09b60f93ae
|
@ -543,7 +543,6 @@ Connection::~Connection()
|
|||
|
||||
void * Connection::Thread()
|
||||
{
|
||||
printf("Connection::Thread()\n");
|
||||
log_register_thread("Connection");
|
||||
|
||||
dout_con<<"Connection thread started"<<std::endl;
|
||||
|
@ -566,7 +565,6 @@ printf("Connection::Thread()\n");
|
|||
runTimeouts(dtime);
|
||||
|
||||
while(m_command_queue.size() != 0){
|
||||
printf("m_command_queue.size() = %u\n",m_command_queue.size());
|
||||
ConnectionCommand c = m_command_queue.pop_front();
|
||||
processCommand(c);
|
||||
}
|
||||
|
@ -577,7 +575,6 @@ printf("m_command_queue.size() = %u\n",m_command_queue.size());
|
|||
|
||||
END_DEBUG_EXCEPTION_HANDLER(derr_con);
|
||||
}
|
||||
printf("Connection::Thread() exit\n");
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -73,7 +73,6 @@ private:
|
|||
|
||||
void * ServerThread::Thread()
|
||||
{
|
||||
printf("ServerThread::Thread()\n");
|
||||
log_register_thread("ServerThread");
|
||||
|
||||
DSTACK(__FUNCTION_NAME);
|
||||
|
@ -104,8 +103,6 @@ printf("ServerThread::Thread()\n");
|
|||
|
||||
END_DEBUG_EXCEPTION_HANDLER(errorstream)
|
||||
|
||||
printf("ServerThread::Thread() exit\n");
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -1077,10 +1074,8 @@ void Server::start(unsigned short port)
|
|||
// Initialize connection
|
||||
m_con.SetTimeoutMs(30);
|
||||
m_con.Serve(port);
|
||||
if (!m_con.getRun()) {
|
||||
printf("no con run\n");
|
||||
if (!m_con.getRun())
|
||||
return;
|
||||
}
|
||||
|
||||
// Start thread
|
||||
m_thread.start();
|
||||
|
|
Loading…
Reference in New Issue