* 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
+3 -3
View File
@@ -97,9 +97,9 @@ WindowPeerList::redraw() {
p.address().c_str());
x += 18;
m_canvas->print(x, y, "%.1f", (double)p.up_rate().rate() / 1024); x += 7;
m_canvas->print(x, y, "%.1f", (double)p.down_rate().rate() / 1024); x += 7;
m_canvas->print(x, y, "%.1f", (double)p.peer_rate().rate() / 1024); x += 7;
m_canvas->print(x, y, "%.1f", (double)p.up_rate()->rate() / 1024); x += 7;
m_canvas->print(x, y, "%.1f", (double)p.down_rate()->rate() / 1024); x += 7;
m_canvas->print(x, y, "%.1f", (double)p.peer_rate()->rate() / 1024); x += 7;
m_canvas->print(x, y, "%c/%c%c/%c%c",
p.is_incoming() ? 'r' : 'l',