From 1bef80c3fa6aa0d91e33fc48d4a89c1c6181f286 Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 27 Jan 2017 01:28:35 -0500 Subject: [PATCH] report the true state of super_seeding of a torrent. If the torrent leaves finished or seeding state, it will clear it already --- ChangeLog | 1 + include/libtorrent/torrent.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6b16c897b..c496367c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ + * finished non-seed torrents can also be in super-seeding mode * fix issue related to unloading torrents * fixed finished-time calculation * add missing min_memory_usage() and high_performance_seed() settings presets to python diff --git a/include/libtorrent/torrent.hpp b/include/libtorrent/torrent.hpp index 045ffc1ee..9c9e33076 100644 --- a/include/libtorrent/torrent.hpp +++ b/include/libtorrent/torrent.hpp @@ -770,7 +770,7 @@ namespace libtorrent bool super_seeding() const { // we're not super seeding if we're not a seed - return m_super_seeding && is_seed(); + return m_super_seeding; } void super_seeding(bool on);