This commit is contained in:
hiker 2015-10-22 00:03:11 +11:00
commit 25ca5646ff

View File

@ -117,8 +117,8 @@ void NetworkManager::propagateEvent(Event* event)
{ {
Log::info("NetworkManager", "A client has just connected. There are " Log::info("NetworkManager", "A client has just connected. There are "
"now %lu peers.", m_peers.size() + 1); "now %lu peers.", m_peers.size() + 1);
Log::debug("NetworkManager", "Addresses are : %lx, %lx, %lx", Log::debug("NetworkManager", "Addresses are : %lx, %lx",
event->getPeer(), *event->getPeer(), peer); event->getPeer(), peer);
// create the new peer: // create the new peer:
m_peers.push_back(peer); m_peers.push_back(peer);
} }