From 90777a9b9bd863d69a782a93c74425e817b06bf1 Mon Sep 17 00:00:00 2001 From: davidebeatrici Date: Thu, 6 Jul 2017 21:23:25 +0200 Subject: [PATCH] ServerAddress.cpp: Fix ServerAddress ports comparison typo --- src/ServerAddress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }