fixed finished_time bug

This commit is contained in:
Arvid Norberg 2010-02-09 04:42:32 +00:00
parent fb47469834
commit d019833043
1 changed files with 1 additions and 0 deletions

View File

@ -5492,6 +5492,7 @@ namespace libtorrent
time_duration since_last_tick = milliseconds(tick_interval_ms);
if (is_seed()) m_seeding_time += since_last_tick;
if (is_finished()) m_finished_time += since_last_tick;
m_active_time += since_last_tick;
// ---- TIME CRITICAL PIECES ----