diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-04 09:56:19 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-04 09:56:19 +0000 |
commit | 268759725545c22e124375abd1da019b86c3ed04 (patch) | |
tree | 8fc5aa842e99730d603710b2a73ed54528f08ed3 /ace/Addr.i | |
parent | e11673d8ef4d70f8b78e3734d51b664e8483e7cd (diff) | |
download | ATCD-268759725545c22e124375abd1da019b86c3ed04.tar.gz |
*** empty log message ***
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. |