mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-11 16:49:22 +00:00
* Added support for DHT. Patch by Josef Drexler, public domain as per
prior agreement. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1013 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -190,9 +190,11 @@ print_download_status(char* first, char* last, core::Download* d) {
|
||||
|
||||
} else if (d->tracker_list()->has_active() && d->tracker_list()->focus() < d->tracker_list()->end()) {
|
||||
torrent::TrackerList* tl = d->tracker_list();
|
||||
char status[128];
|
||||
|
||||
first = print_buffer(first, last, "Tracker[%i:%i]: Connecting to %s",
|
||||
(*tl->focus())->group(), tl->focus_index(), (*tl->focus())->url().c_str());
|
||||
(*tl->focus())->get_status(status, sizeof(status));
|
||||
first = print_buffer(first, last, "Tracker[%i:%i]: Connecting to %s %s",
|
||||
(*tl->focus())->group(), tl->focus_index(), (*tl->focus())->url().c_str(), status);
|
||||
|
||||
} else if (!d->message().empty()) {
|
||||
first = print_buffer(first, last, "%s", d->message().c_str());
|
||||
|
||||
@@ -91,7 +91,7 @@ WindowTrackerList::redraw() {
|
||||
m_canvas->print(4, pos++, "Id: %s Focus: %s Enabled: %s Open: %s S/L: %u/%u",
|
||||
rak::copy_escape_html(tracker->tracker_id()).c_str(),
|
||||
range.first == tl->focus_index() ? "yes" : " no",
|
||||
tracker->is_enabled() ? "yes" : " no",
|
||||
tracker->is_usable() ? "yes" : tracker->is_enabled() ? "off" : " no",
|
||||
tracker->is_busy() ? "yes" : " no",
|
||||
tracker->scrape_complete(),
|
||||
tracker->scrape_incomplete());
|
||||
|
||||
Reference in New Issue
Block a user