Skip to content

Commit

Permalink
Merge PR #3150: ServerAddress.cpp: Fix ServerAddress ports comparison…
Browse files Browse the repository at this point in the history
… typo
  • Loading branch information
davidebeatrici committed Jul 6, 2017
2 parents 3fcd786 + 90777a9 commit 176c041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServerAddress.cpp
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 176c041

Please sign in to comment.