* 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:
rakshasa
2005-11-14 15:42:13 +00:00
parent a97408328a
commit e8deac9f79
6 changed files with 50 additions and 50 deletions
+2 -2
View File
@@ -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() : "");