remove redundant check in tracker announce. This is checked in http_tracker_connection
This commit is contained in:
parent
09bf97b79e
commit
82f87b0655
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue