diff options
Diffstat (limited to 'ace/Addr.i')
-rw-r--r-- | ace/Addr.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Addr.i b/ace/Addr.i index da89a01ed17..ce4a5b59036 100644 --- a/ace/Addr.i +++ b/ace/Addr.i @@ -19,13 +19,13 @@ ACE_Addr::set_addr (void *, int) ACE_INLINE int ACE_Addr::operator == (const ACE_Addr &sap) const { - return sap.addr_type_ == 0; + return sap.addr_type_ == this->addr_type_; } ACE_INLINE int ACE_Addr::operator != (const ACE_Addr &sap) const { - return sap.addr_type_ != 0; + return sap.addr_type_ != this->addr_type_; } // Return the size of the address. |