This commit is contained in:
Arvid Norberg 2007-08-21 08:16:41 +00:00
parent a3d4b1bdd9
commit e865852c74
1 changed files with 1 additions and 0 deletions

View File

@ -1480,6 +1480,7 @@ namespace libtorrent
assert(!m_have_piece.empty());
std::fill(m_have_piece.begin(), m_have_piece.end(), true);
m_num_pieces = m_have_piece.size();
t->peer_has_all();
if (!t->is_finished())