removed unnecessary fill of the have bitfield

This commit is contained in:
Arvid Norberg 2007-04-15 04:40:45 +00:00
parent 8cb1f9f899
commit 8dd610bfbd
1 changed files with 0 additions and 1 deletions

View File

@ -273,7 +273,6 @@ namespace libtorrent
{
throw std::runtime_error("seed to seed connection redundant, disconnecting");
}
std::fill(m_have_piece.begin(), m_have_piece.end(), true);
m_num_pieces = num_pieces;
t->peer_has_all();
if (!t->is_finished())