removed unnecessary fill of the have bitfield
This commit is contained in:
parent
8cb1f9f899
commit
8dd610bfbd
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue