forked from premiere/premiere-libtorrent
merged change from RC_0_16
This commit is contained in:
parent
333458f59d
commit
bd046bbf4a
|
@ -1768,10 +1768,6 @@ namespace libtorrent
|
|||
if (lhs.connectable != rhs.connectable)
|
||||
return lhs.connectable < rhs.connectable;
|
||||
|
||||
// prefer peers with higher failcount
|
||||
if (lhs.failcount != rhs.failcount)
|
||||
return lhs.failcount > rhs.failcount;
|
||||
|
||||
return lhs.trust_points < rhs.trust_points;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue