Changeset - bfa4176bac88
[Not reviewed]
0 2 0
HanzZ - 14 years ago 2011-07-19 01:25:26
hanzz.k@gmail.com
Do not create m_convs in getConversation
2 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
include/transport/conversationmanager.h
Show inline comments
 
@@ -58,6 +58,8 @@ class ConversationManager {
 
		/// \param name legacy network name.
 
		/// \return Conversation or NULL.
 
		Conversation *getConversation(const std::string &name) {
 
			if (m_convs.find(name) == m_convs.end())
 
				return NULL;
 
			return m_convs[name];
 
		}
 

	
src/networkpluginserver.cpp
Show inline comments
 
@@ -889,7 +889,7 @@ void NetworkPluginServer::sendPing(Backend *c) {
 

	
 
	send(c->connection, message);
 
	c->pongReceived = false;
 
	LOG4CXX_INFO(logger, "PING to " << c);
 
// 	LOG4CXX_INFO(logger, "PING to " << c);
 
}
 

	
 
NetworkPluginServer::Backend *NetworkPluginServer::getFreeClient() {
0 comments (0 inline, 0 general)