fix assert in torrent_info
This commit is contained in:
parent
2548db5737
commit
69bbee8932
|
@ -1274,9 +1274,11 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TORRENT_ASSERT(m_piece_hashes);
|
if (m_piece_hashes != 0)
|
||||||
TORRENT_ASSERT(m_piece_hashes >= m_info_section.get());
|
{
|
||||||
TORRENT_ASSERT(m_piece_hashes < m_info_section.get() + m_info_section_size);
|
TORRENT_ASSERT(m_piece_hashes >= m_info_section.get());
|
||||||
|
TORRENT_ASSERT(m_piece_hashes < m_info_section.get() + m_info_section_size);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue