diff --git a/ChangeLog b/ChangeLog index b6bb4054f..ac9e663e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ + * fixed finished-time calculation * add missing min_memory_usage() and high_performance_seed() settings presets to python * fix stat cache issue that sometimes would produce incorrect resume data * storage optimization to peer classes diff --git a/src/torrent.cpp b/src/torrent.cpp index e91afbc01..1c7f92f19 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -9535,7 +9535,7 @@ namespace libtorrent } m_became_seed = clamped_subtract(m_became_seed, seconds); - if (m_finished_time < seconds && is_finished()) + if (m_became_finished < seconds && is_finished()) { int lost_seconds = seconds - m_became_finished; m_finished_time += lost_seconds;