From e5fdc99dd02bbb4a2d2a7c9fa112631fd4a3b0d1 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Fri, 12 Apr 2013 18:36:31 -0700 Subject: [PATCH] Grr! These are way too easy to do by mistake. The following code does nothing useful: ScopedLock(theApp->getMasterLock()); Must be: ScopedLock sl(theApp->getMasterLock()); --- src/cpp/ripple/NetworkOPs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/NetworkOPs.cpp b/src/cpp/ripple/NetworkOPs.cpp index 769b48c6f..41006ac86 100644 --- a/src/cpp/ripple/NetworkOPs.cpp +++ b/src/cpp/ripple/NetworkOPs.cpp @@ -600,7 +600,7 @@ void NetworkOPs::checkState(const boost::system::error_code& result) } { - ScopedLock(theApp->getMasterLock()); + ScopedLock sl(theApp->getMasterLock()); std::vector peerList = theApp->getConnectionPool().getPeerVector();