added test for local service discovery

This commit is contained in:
Arvid Norberg
2007-10-01 02:09:12 +00:00
parent 1cbe23667b
commit 0b1a542aa9
5 changed files with 139 additions and 14 deletions

View File

@@ -775,6 +775,8 @@ namespace libtorrent
if (total_done >= m_torrent_file->total_size())
{
// Thist happens when a piece has been downloaded completely
// but not yet verified against the hash
std::copy(m_have_pieces.begin(), m_have_pieces.end()
, std::ostream_iterator<bool>(std::cerr, " "));
std::cerr << std::endl;