fixed typo in previous check in

This commit is contained in:
Arvid Norberg 2007-03-21 02:14:31 +00:00
parent 20e38bc42b
commit b3c889f563
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ namespace libtorrent
int index = m_piece_info[priority][elem_index]; int index = m_piece_info[priority][elem_index];
// update the piece_map // update the piece_map
piece_pos& p = m_piece_map[index]; piece_pos& p = m_piece_map[index];
assert(int(p.index) == index || p.have()); assert(int(p.index) == elem_index || p.have());
int new_priority = p.priority(m_sequenced_download_threshold); int new_priority = p.priority(m_sequenced_download_threshold);