diff --git a/src/ServerAddress.cpp b/src/ServerAddress.cpp index 98a6d53656c..0979109e9a7 100644 --- a/src/ServerAddress.cpp +++ b/src/ServerAddress.cpp @@ -30,7 +30,7 @@ bool operator<(const ServerAddress &lhs, const ServerAddress &rhs) { if (lhs.host < rhs.host) { return true; } else if (lhs.host == rhs.host) { - if (lhs.port < lhs.port) { + if (lhs.port < rhs.port) { return true; } }