Skip to content

Commit

Permalink
ServerAddress.cpp: Fix ServerAddress ports comparison typo
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebeatrici committed Jul 6, 2017
1 parent 8275f77 commit 90777a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServerAddress.cpp
Original file line number Diff line number Diff line change
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 90777a9

Please sign in to comment.