the DHT can now change listen port runtime, and the same listen interface will be used for the DHT as is used for the torrent listen port. The DHT buckets are refreshed slightly more evenly distributed over time.

This commit is contained in:
Arvid Norberg
2006-08-30 00:09:58 +00:00
parent 0d0f07189d
commit b1411fcdf7
6 changed files with 35 additions and 11 deletions

View File

@@ -899,10 +899,10 @@ int main(int ac, char* av[])
for (int i = 0; i < info.num_files(); ++i)
{
if (file_progress[i] == 1.f)
out << progress_bar(file_progress[i], 10, "32") << " "
out << progress_bar(file_progress[i], 20, "32") << " "
<< info.file_at(i).path.leaf() << "\n";
else
out << progress_bar(file_progress[i], 10, "33") << " "
out << progress_bar(file_progress[i], 20, "33") << " "
<< info.file_at(i).path.leaf() << "\n";
}