More tie ins.

This commit is contained in:
JoelKatz
2012-11-19 15:41:45 -08:00
parent 08f271443d
commit 19d73bd477
4 changed files with 18 additions and 4 deletions

View File

@@ -373,8 +373,11 @@ void Peer::processReadBuffer()
// std::cerr << "Peer::processReadBuffer: " << mIpPort.first << " " << mIpPort.second << std::endl;
// If connected and get a mtHELLO or if not connected and get a non-mtHELLO, wrong message was sent.
LoadEvent::pointer event = theApp->getJobQueue().getLoadEvent(jtPEER);
boost::recursive_mutex::scoped_lock sl(theApp->getMasterLock());
// If connected and get a mtHELLO or if not connected and get a non-mtHELLO, wrong message was sent.
if (mHelloed == (type == ripple::mtHELLO))
{
cLog(lsWARNING) << "Wrong message type: " << type;