From 1c8a7b6343e49f93ba78aa034298464ee7057dc1 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 26 Oct 2011 00:58:21 +0000 Subject: [PATCH] fixed invalid torrent_status::finished_time --- ChangeLog | 1 + src/torrent.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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;