mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 04:54:23 +00:00
Fix typo in policy.cpp
This commit is contained in:
parent
1a8c3d21be
commit
846d575a52
@ -1348,8 +1348,8 @@ namespace libtorrent
|
|||||||
{
|
{
|
||||||
std::pair<const int, int>* lhs_as = lhs.inet_as;
|
std::pair<const int, int>* lhs_as = lhs.inet_as;
|
||||||
std::pair<const int, int>* rhs_as = rhs.inet_as;
|
std::pair<const int, int>* rhs_as = rhs.inet_as;
|
||||||
if (lhs_as ? lhs_as->second : 0 > rhs_as ? rhs->second : 0) return true;
|
if (lhs_as ? lhs_as->second : 0 > rhs_as ? rhs_as->second : 0) return true;
|
||||||
if (lhs_as ? lhs_as->second : 0 < rhs_as ? rhs->second : 0) return false;
|
if (lhs_as ? lhs_as->second : 0 < rhs_as ? rhs_as->second : 0) return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
int lhs_distance = cidr_distance(external_ip, lhs.ip.address());
|
int lhs_distance = cidr_distance(external_ip, lhs.ip.address());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user