Missing lock.

This commit is contained in:
JoelKatz
2013-03-11 22:14:55 -07:00
parent b51a9fc371
commit 39d85b7b9e

View File

@@ -222,6 +222,7 @@ void Peer::connect(const std::string& strIp, int iPort)
{
cLog(lsINFO) << "Peer: Connect: Outbound: " << ADDRESS(this) << ": " << mIpPort.first << " " << mIpPort.second;
boost::recursive_mutex::scoped_lock sl(ioMutex);
boost::asio::async_connect(
getSocket(),
itrEndpoint,