fixed typo
This commit is contained in:
parent
7b6261a63a
commit
cf8659a0af
|
@ -853,7 +853,7 @@ namespace libtorrent
|
||||||
, end(m_piece_map.end()); i != end; ++i)
|
, end(m_piece_map.end()); i != end; ++i)
|
||||||
{
|
{
|
||||||
// we don't maintain peer count for pieces we have
|
// we don't maintain peer count for pieces we have
|
||||||
if (i->index == piece_pos::have_index) continue;
|
if (i->index == piece_pos::we_have_index) continue;
|
||||||
TORRENT_ASSERT(i->peer_count > 0);
|
TORRENT_ASSERT(i->peer_count > 0);
|
||||||
--i->peer_count;
|
--i->peer_count;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue