summaryrefslogtreecommitdiff
path: root/ace/Addr.i
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-04 09:56:19 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-04 09:56:19 +0000
commit506fb8681348764893dfcc5950921cfc93fb9a79 (patch)
tree8fc5aa842e99730d603710b2a73ed54528f08ed3 /ace/Addr.i
parentc0728d14d14ce70c6c06257ac7875e1ef1200f8f (diff)
downloadATCD-506fb8681348764893dfcc5950921cfc93fb9a79.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Addr.i')
-rw-r--r--ace/Addr.i4
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.