mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 21:22:31 +00:00
* More work on the new throttle code.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@589 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ void
|
||||
Root::receive_down_throttle(int t) {
|
||||
m_windowStatusbar->mark_dirty();
|
||||
|
||||
torrent::set_down_throttle(torrent::get_down_throttle() + t * 1024);
|
||||
torrent::set_down_throttle(std::max<int>(torrent::get_down_throttle() + t * 1024, 0));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user