fixed typo

This commit is contained in:
Arvid Norberg 2009-06-12 06:28:18 +00:00
parent 7b6261a63a
commit cf8659a0af
1 changed files with 1 additions and 1 deletions

View File

@ -853,7 +853,7 @@ namespace libtorrent
, end(m_piece_map.end()); i != end; ++i)
{
// 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);
--i->peer_count;
}