fixed add_piece()

This commit is contained in:
Arvid Norberg 2010-02-01 00:44:31 +00:00
parent 53ef3dfb22
commit fc310ffde1
1 changed files with 2 additions and 0 deletions

View File

@ -600,6 +600,8 @@ namespace libtorrent
picker().mark_as_downloading(block, 0, piece_picker::fast);
picker().mark_as_writing(block, 0);
}
async_verify_piece(piece, bind(&torrent::piece_finished
, shared_from_this(), piece, _1));
picker().dec_refcount(piece);
}