fix mistake in download_queue_time

This commit is contained in:
Arvid Norberg 2015-05-13 00:02:01 +00:00
parent a44731aabb
commit e7f9f35556
1 changed files with 1 additions and 1 deletions

View File

@ -1021,7 +1021,7 @@ namespace libtorrent
// average of current rate and peak
// rate = (rate + m_download_rate_peak) / 2;
return milliseconds((m_outstanding_bytes
return milliseconds((m_outstanding_bytes + extra_bytes
+ m_queued_time_critical * t->block_size() * 1000) / rate);
}