diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-03 09:57:19 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-03 09:57:19 (GMT) |
commit | 83791d091430a0b2fa534c104823f91a7587d64e (patch) | |
tree | 4759ed491ee2d936c21328e73a873876cd2f19b6 /Slimber/Server.cpp | |
parent | 9af232bad7ba867e8d29346f9d6730422178adcd (diff) | |
download | swift-contrib-83791d091430a0b2fa534c104823f91a7587d64e.zip swift-contrib-83791d091430a0b2fa534c104823f91a7587d64e.tar.bz2 |
Slimber: Remove debug output.
Diffstat (limited to 'Slimber/Server.cpp')
-rw-r--r-- | Slimber/Server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Slimber/Server.cpp b/Slimber/Server.cpp index a944ab9..e07fb41 100644 --- a/Slimber/Server.cpp +++ b/Slimber/Server.cpp @@ -146,8 +146,8 @@ void Server::handleNewClientConnection(boost::shared_ptr<Connection> connection) serverFromClientSession->onSessionFinished.connect( boost::bind(&Server::handleSessionFinished, this, serverFromClientSession)); - tracers.push_back(boost::shared_ptr<SessionTracer>( - new SessionTracer(serverFromClientSession))); + //tracers.push_back(boost::shared_ptr<SessionTracer>( + // new SessionTracer(serverFromClientSession))); serverFromClientSession->startSession(); } @@ -275,7 +275,7 @@ void Server::handleNewLinkLocalConnection(boost::shared_ptr<Connection> connecti } void Server::handleLinkLocalSessionFinished(boost::shared_ptr<Session> session) { - std::cout << "Link local session from " << session->getRemoteJID() << " ended" << std::endl; + //std::cout << "Link local session from " << session->getRemoteJID() << " ended" << std::endl; linkLocalSessions.erase( std::remove(linkLocalSessions.begin(), linkLocalSessions.end(), session), linkLocalSessions.end()); @@ -316,7 +316,7 @@ void Server::registerLinkLocalSession(boost::shared_ptr<Session> session) { session->onElementReceived.connect( boost::bind(&Server::handleLinkLocalElementReceived, this, _1, session)); linkLocalSessions.push_back(session); - tracers.push_back(boost::shared_ptr<SessionTracer>(new SessionTracer(session))); + //tracers.push_back(boost::shared_ptr<SessionTracer>(new SessionTracer(session))); session->startSession(); } |