fixed #133
This commit is contained in:
parent
6c50adabfc
commit
c946afcfab
|
@ -1562,8 +1562,8 @@ namespace libtorrent
|
||||||
boost::shared_ptr<torrent> t = m_torrent.lock();
|
boost::shared_ptr<torrent> t = m_torrent.lock();
|
||||||
assert(t);
|
assert(t);
|
||||||
|
|
||||||
for (std::vector<int>::iterator i = m_allowed_fast.begin()
|
for (std::vector<int>::iterator i = m_allowed_fast.begin();
|
||||||
, end(m_allowed_fast.end()); i != end; ++i)
|
i != m_allowed_fast.end(); ++i)
|
||||||
{
|
{
|
||||||
if (!t->have_piece(*i)) continue;
|
if (!t->have_piece(*i)) continue;
|
||||||
*i = m_allowed_fast.back();
|
*i = m_allowed_fast.back();
|
||||||
|
|
Loading…
Reference in New Issue