mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 07:02:30 +00:00
* Made ThrottleNode an object held by PCB, rather than ThrottleList
which now holds ThrottleNode*. Moved Rate from PCB to ThrottleNode. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@596 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -76,8 +76,8 @@ WindowStatusbar::redraw() {
|
||||
|
||||
m_canvas->print(0, 0, "Throttle U/D: %s Rate: %5.1f / %5.1f KB Listen: %s:%i%s",
|
||||
buf,
|
||||
(double)torrent::up_rate().rate() / 1024.0,
|
||||
(double)torrent::down_rate().rate() / 1024.0,
|
||||
(double)torrent::up_rate()->rate() / 1024.0,
|
||||
(double)torrent::down_rate()->rate() / 1024.0,
|
||||
!torrent::local_address().empty() ? torrent::local_address().c_str() : "<default>",
|
||||
(int)torrent::listen_port(),
|
||||
!torrent::bind_address().empty() ? (" Bind: " + torrent::bind_address()).c_str() : "");
|
||||
|
||||
Reference in New Issue
Block a user