forked from premiere/premiere-libtorrent
fixed unchoke counter problem
This commit is contained in:
parent
aff2869bed
commit
4aa018484a
|
@ -284,8 +284,8 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
torrent* t = c.associated_torrent().lock().get();
|
torrent* t = c.associated_torrent().lock().get();
|
||||||
assert(t);
|
assert(t);
|
||||||
t->unchoke_peer(c);
|
if (t->unchoke_peer(c))
|
||||||
++m_num_unchoked;
|
++m_num_unchoked;
|
||||||
}
|
}
|
||||||
|
|
||||||
session_status status() const;
|
session_status status() const;
|
||||||
|
|
Loading…
Reference in New Issue