Fixed compile on Windows.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5893 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-11-25 21:48:00 +00:00
parent 8dd38be88b
commit 80dfa620b2

View File

@ -311,7 +311,6 @@ void pqipersongrp::statusChanged()
}
}
#ifdef PGRP_DEBUG
std::cerr << "pqipersongrp::statusChanged() There are ";
std::cerr << connect_count << " connection attempts and " << waitingIds.size();
@ -320,7 +319,6 @@ void pqipersongrp::statusChanged()
std::cerr << std::endl;
#endif
RsStackMutex stack(coreMtx); /**************** LOCKED MUTEX ****************/
/* start some waiting id's */
for (int i = connect_count; i < MAX_CONNECT_COUNT; i++)
{
@ -330,10 +328,10 @@ void pqipersongrp::statusChanged()
std::string waitingId = waitingIds.front();
waitingIds.pop_front();
#ifdef PGRP_DEBUG
#ifdef PGRP_DEBUG
std::cerr << " pqipersongrp::statusChanged() id: " << waitingId << " connect peer";
std::cerr << std::endl;
#endif
#endif
toConnect.push_back(waitingId);
}
@ -344,7 +342,6 @@ void pqipersongrp::statusChanged()
{
connectPeer(*cit, true);
}
}
///////////////////////////////////////////////////////////
#endif