From d019833043f3a72f9e5cae422734eb79e5c6f7f5 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 9 Feb 2010 04:42:32 +0000 Subject: [PATCH] fixed finished_time bug --- src/torrent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/torrent.cpp b/src/torrent.cpp index 293e3c2c1..b8f2fc505 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -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 ----