remove redundant check in tracker announce. This is checked in http_tracker_connection

This commit is contained in:
arvidn 2018-03-21 12:16:35 +01:00 committed by Arvid Norberg
parent 09bf97b79e
commit 82f87b0655
1 changed files with 1 additions and 2 deletions

View File

@ -3203,8 +3203,7 @@ namespace {
// exclude redundant bytes if we should
if (!settings().get_bool(settings_pack::report_true_downloaded))
req.downloaded -= m_total_redundant_bytes;
if (settings().get_bool(settings_pack::report_redundant_bytes))
req.redundant = m_total_redundant_bytes;
req.redundant = m_total_redundant_bytes;
if (req.downloaded < 0) req.downloaded = 0;
req.event = e;