* Cleaned up torrent::ProtocolBuffer.

* Added enums to torrent::Tracker to allow the client to check
whetever the tracker is an UDP or HTTP tracker.

* Added "enable_udp_trackers" setting for disabling the use of UDP
trackers, enabled by default.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@498 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-07-13 18:51:19 +00:00
parent d02ded1d4c
commit 7a9010445b
10 changed files with 82 additions and 56 deletions
+3 -2
View File
@@ -84,10 +84,11 @@ WindowTrackerList::redraw() {
range.first == *m_focus ? '*' : ' ',
t.get_url().c_str());
m_canvas->print(0, pos++, "%c Group: %2i Id: %s",
m_canvas->print(0, pos++, "%c Group: %2i Id: %s Enabled: %s",
range.first == *m_focus ? '*' : ' ',
t.get_group(),
utils::escape_string(t.get_tracker_id()).c_str());
utils::escape_string(t.get_tracker_id()).c_str(),
t.is_enabled() ? "yes" : "no");
++range.first;
}