diff options
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/address.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/address.h b/src/network/core/address.h index 1bec20a27..ecb3a8f22 100644 --- a/src/network/core/address.h +++ b/src/network/core/address.h @@ -175,7 +175,7 @@ public: { int r = this->GetAddressLength() - address.GetAddressLength(); if (r == 0) r = this->address.ss_family - address.address.ss_family; - if (r == 0) r = memcmp(&this->address, &address.address, this->address_length) == 0; + if (r == 0) r = memcmp(&this->address, &address.address, this->address_length); if (r == 0) r = this->GetPort() - address.GetPort(); return r; } |