fixes bug where priorities where lost when force-rechecking.

This commit is contained in:
Arvid Norberg
2008-08-25 22:32:50 +00:00
parent 66ac9fe718
commit e9045cc1df
4 changed files with 41 additions and 4 deletions

View File

@@ -161,6 +161,7 @@ namespace libtorrent
void we_have(int index);
void we_dont_have(int index);
// sets all pieces to dont-have
void init(int blocks_per_piece, int total_num_blocks);
int num_pieces() const { return int(m_piece_map.size()); }