mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 02:55:18 -04:00
removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5563 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
77edd3e013
commit
9e00688c71
4 changed files with 10 additions and 0 deletions
|
@ -324,8 +324,10 @@ void bdNode::iteration()
|
|||
/* Disable Queries if our Ping Queue is too long */
|
||||
if (mPotentialPeers.size() > mMaxAllowedMsgs * BDNODE_MAX_POTENTIAL_PEERS_MULTIPLIER)
|
||||
{
|
||||
#ifdef DEBUG_NODE_MULTIPEER
|
||||
std::cerr << "bdNode::iteration() Disabling Queries until PotentialPeer Queue reduced";
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
allowedPings = mMaxAllowedMsgs;
|
||||
}
|
||||
|
||||
|
@ -1694,12 +1696,14 @@ void bdNode::msgin_pong(bdId *id, bdToken *transId, bdToken *versionId)
|
|||
if ((sameDhtVersion) && (!sameDhtEngine))
|
||||
{
|
||||
sameDhtVersion = false;
|
||||
#ifdef DEBUG_NODE_MSGIN
|
||||
std::cerr << "bdNode::msgin_pong() STRANGE Peer Version: ";
|
||||
for(uint32_t i = 0; i < versionId->len; i++)
|
||||
{
|
||||
std::cerr << versionId->data[i];
|
||||
}
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* check two bytes */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue