Permalink
Browse files

Add more info to ConnectionThread logging

  • Loading branch information...
1 parent 1a6fb58 commit 53e061ca52062fe0d6a296073aa305ade33e732a @celeron55 committed Nov 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/connection.cpp
View
@@ -1494,7 +1494,8 @@ SharedBuffer<u8> ConnectionThread::processPacket(Channel *channel,
if(m_initial_peer_tcps.find(peer_id) !=
m_initial_peer_tcps.end())
{
- derr_con<<getDesc()<<" sending TCP initialization"<<std::endl;
+ derr_con<<getDesc()<<" sending TCP initialization as "
+ <<peer_id_new<<" to "<<peer_id<<std::endl;
SharedPtr<TCPSocket> tcp = m_initial_peer_tcps[peer_id];
u8 buf[6];
writeU32(&buf[0], m_protocol_id);

0 comments on commit 53e061c

Please sign in to comment.