fixed typo

This commit is contained in:
Arvid Norberg 2008-04-24 16:12:24 +00:00
parent 19b88b1a65
commit 33ed6f4720
1 changed files with 2 additions and 2 deletions

View File

@ -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());