fix assert in torrent_info
This commit is contained in:
parent
2548db5737
commit
69bbee8932
|
@ -1274,10 +1274,12 @@ 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);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue