fixed unchoke counter problem
This commit is contained in:
@@ -284,7 +284,7 @@ namespace libtorrent
|
||||
{
|
||||
torrent* t = c.associated_torrent().lock().get();
|
||||
assert(t);
|
||||
t->unchoke_peer(c);
|
||||
if (t->unchoke_peer(c))
|
||||
++m_num_unchoked;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user