lt lazy bitfield fix

This commit is contained in:
Marcos Pinto 2007-06-05 14:49:30 +00:00
parent 48f6e5e1e9
commit 66e967608b
1 changed files with 1 additions and 1 deletions

View File

@ -1184,7 +1184,7 @@ namespace libtorrent
for (int c = 0; c < num_pieces; ++c) for (int c = 0; c < num_pieces; ++c)
{ {
if (lazy_piece < num_lazy_pieces if (lazy_piece < num_lazy_pieces
&& lazy_pieces[lazy_piece]) && lazy_pieces[lazy_piece] == c)
{ {
++lazy_piece; ++lazy_piece;
continue; continue;