fixed bug in remote download rate calculation

This commit is contained in:
Arvid Norberg 2009-11-14 20:55:42 +00:00
parent 5fa73ed7ce
commit c07b1d0981
1 changed files with 1 additions and 1 deletions

View File

@ -3686,7 +3686,7 @@ namespace libtorrent
m_remote_dl_rate = (m_remote_dl_rate * 2 / 3) +
((m_remote_bytes_dled / 3) / 60);
else
m_remote_dl_rate = m_remote_dl_rate / 60;
m_remote_dl_rate = m_remote_bytes_dled / 60;
m_remote_bytes_dled = 0;
m_remote_dl_update = now;