piece picker update

This commit is contained in:
Arvid Norberg
2008-02-18 03:07:14 +00:00
parent 5c14ec2eb1
commit 333839c9b4
5 changed files with 99 additions and 43 deletions

View File

@@ -1476,7 +1476,7 @@ namespace libtorrent
if (ret == -1 || !t)
{
if (t->has_picker()) t->picker().abort_download(block_finished);
if (t->has_picker()) t->picker().write_failed(block_finished);
if (!t)
{