fix build without deprecated functions

This commit is contained in:
Arvid Norberg 2015-04-06 00:06:26 +00:00
parent 5838073691
commit 6d09050d08
1 changed files with 2 additions and 2 deletions

View File

@ -3495,7 +3495,7 @@ retry:
{
INVARIANT_CHECK;
m_last_auto_manage = time_now_hires();
m_last_auto_manage = time_now();
m_need_auto_manage = false;
if (is_paused()) return;
@ -5922,7 +5922,7 @@ retry:
// we we recalculated auto-managed torrents less than a second ago,
// put it off one second.
if (time_now_hires() - m_last_auto_manage < seconds(1))
if (time_now() - m_last_auto_manage < seconds(1))
{
m_auto_manage_time_scaler = 0;
return;