Don't call both a function and a parameter "progress".

This commit is contained in:
JoelKatz
2013-08-18 23:27:54 -07:00
committed by Vinnie Falco
parent b00c33988c
commit 57f21593b5

View File

@@ -137,7 +137,7 @@ bool InboundLedger::tryLocal ()
return mComplete; return mComplete;
} }
void InboundLedger::onTimer (bool progress, boost::recursive_mutex::scoped_lock&) void InboundLedger::onTimer (bool wasProgress, boost::recursive_mutex::scoped_lock&)
{ {
mRecentTXNodes.clear (); mRecentTXNodes.clear ();
mRecentASNodes.clear (); mRecentASNodes.clear ();
@@ -150,7 +150,7 @@ void InboundLedger::onTimer (bool progress, boost::recursive_mutex::scoped_lock&
return; return;
} }
if (!progress) if (!wasProgress)
{ {
if (isDone()) if (isDone())
{ {