svn lb 1302

This commit is contained in:
Marcos Pinto 2007-05-31 07:20:14 +00:00
parent 8ecf829d58
commit b1320232cc
1 changed files with 1 additions and 0 deletions

View File

@ -566,6 +566,7 @@ namespace libtorrent
for (int k = 0; k < 8; ++k)
v |= i->info[j*8+k].finished?(1 << k):0;
bitmask.insert(bitmask.end(), v);
assert(bits == 8 || j == num_bitmask_bytes - 1);
}
piece_struct["bitmask"] = bitmask;