From 66e967608b2dd3cc2ee8b748c79a808b23c7f0d9 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 5 Jun 2007 14:49:30 +0000 Subject: [PATCH] lt lazy bitfield fix --- libtorrent/src/bt_peer_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtorrent/src/bt_peer_connection.cpp b/libtorrent/src/bt_peer_connection.cpp index d0761cbbd..e2e2fe537 100755 --- a/libtorrent/src/bt_peer_connection.cpp +++ b/libtorrent/src/bt_peer_connection.cpp @@ -1184,7 +1184,7 @@ namespace libtorrent for (int c = 0; c < num_pieces; ++c) { if (lazy_piece < num_lazy_pieces - && lazy_pieces[lazy_piece]) + && lazy_pieces[lazy_piece] == c) { ++lazy_piece; continue;