forked from premiere/premiere-libtorrent
*** empty log message ***
This commit is contained in:
parent
82f5f056ea
commit
2baa01e3ec
|
@ -246,11 +246,6 @@ namespace libtorrent
|
||||||
++m_num_pieces;
|
++m_num_pieces;
|
||||||
piece_list.push_back(i);
|
piece_list.push_back(i);
|
||||||
}
|
}
|
||||||
else if (m_have_piece[i])
|
|
||||||
{
|
|
||||||
--m_num_pieces;
|
|
||||||
m_torrent->peer_lost(i);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// shuffle the piece list
|
// shuffle the piece list
|
||||||
|
@ -699,6 +694,7 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
else if (!have && m_have_piece[i])
|
else if (!have && m_have_piece[i])
|
||||||
{
|
{
|
||||||
|
// this should probably not be allowed
|
||||||
m_have_piece[i] = false;
|
m_have_piece[i] = false;
|
||||||
--m_num_pieces;
|
--m_num_pieces;
|
||||||
m_torrent->peer_lost(i);
|
m_torrent->peer_lost(i);
|
||||||
|
|
Loading…
Reference in New Issue