Roll back 7 commits

This commit is contained in:
Vinnie Falco
2013-06-28 11:48:02 -07:00
parent d80547e980
commit 832f67b35c
31 changed files with 75 additions and 186 deletions

View File

@@ -329,7 +329,7 @@ void Peers::policyEnforce ()
// Schedule next enforcement.
mPolicyTimer.expires_at (boost::posix_time::second_clock::universal_time () + boost::posix_time::seconds (POLICY_INTERVAL_SECONDS));
mPolicyTimer.async_wait (BIND_TYPE (&Peers::policyHandler, this, P_1));
mPolicyTimer.async_wait (boost::bind (&Peers::policyHandler, this, _1));
}
void Peers::policyHandler (const boost::system::error_code& ecResult)
@@ -856,7 +856,7 @@ void Peers::scanRefresh ()
// % strIpPort % tpNext % (tpNext-tpNow).total_seconds());
mScanTimer.expires_at (tpNext);
mScanTimer.async_wait (BIND_TYPE (&Peers::scanHandler, this, P_1));
mScanTimer.async_wait (boost::bind (&Peers::scanHandler, this, _1));
}
}
}