forked from premiere/premiere-libtorrent
fixed typo in previous check in
This commit is contained in:
parent
20e38bc42b
commit
b3c889f563
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue