cleanup
This commit is contained in:
parent
679abf2e57
commit
98b3e6eb74
|
@ -839,11 +839,10 @@ namespace libtorrent
|
||||||
|
|
||||||
for (int i = 0; i < (int)m_have_piece.size(); ++i)
|
for (int i = 0; i < (int)m_have_piece.size(); ++i)
|
||||||
{
|
{
|
||||||
if (m_have_piece[i])
|
if (!m_have_piece[i]) continue;
|
||||||
{
|
if (t->have_piece(i) || t->picker().piece_priority(i) == 0) continue;
|
||||||
if (!t->have_piece(i) && t->picker().piece_priority(i) != 0)
|
interesting = true;
|
||||||
interesting = true;
|
break;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue