diff --git a/ChangeLog b/ChangeLog index 69395b29c..9d0dff85a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -94,6 +94,7 @@ incoming connection * added more detailed instrumentation of the disk I/O thread + * fixed invalid torrent_status::finished_time * fixed bugs in dont-have and upload-only extension messages * don't open files in random-access mode (speeds up hashing) diff --git a/src/torrent.cpp b/src/torrent.cpp index 6b6fa0323..f4b7c7855 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -8009,7 +8009,7 @@ ctx->set_verify_callback(verify_function, ec); st->all_time_download = m_total_downloaded; // activity time - st->active_time = m_active_time; + st->finished_time = m_finished_time; st->active_time = m_active_time; st->seeding_time = m_seeding_time; st->time_since_upload = m_last_upload;