*** empty log message ***

This commit is contained in:
Arvid Norberg
2003-12-18 03:30:41 +00:00
parent ac0921599d
commit cb89ccf6be
6 changed files with 35 additions and 21 deletions

View File

@@ -326,7 +326,7 @@ namespace libtorrent
#endif
}
bool piece_picker::inc_refcount(int i)
void piece_picker::inc_refcount(int i)
{
assert(i >= 0);
assert(i < m_piece_map.size());
@@ -336,14 +336,16 @@ namespace libtorrent
m_piece_map[i].peer_count++;
if (index == 0xffffff) return false;
// if we have the piece, we don't have to move
// any entries in the piece_info vector
if (index == 0xffffff) return;
move(m_piece_map[i].downloading, peer_count, index);
#ifndef NDEBUG
// integrity_check();
#endif
return true;
return;
}
void piece_picker::dec_refcount(int i)