summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Transport.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-01-13 16:54:18 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-01-13 16:54:18 +0000
commitb573bbf3d69fde8c8b651ae7a8c9bb00f8c3411e (patch)
tree2d8e2b1e04725cdfa163b85f1a082376af605610 /TAO/tao/IIOP_Transport.cpp
parent29313674fe2eed82d9a7fe06ed794ca3ce78e38a (diff)
downloadATCD-b573bbf3d69fde8c8b651ae7a8c9bb00f8c3411e.tar.gz
Fixed a compile error
Diffstat (limited to 'TAO/tao/IIOP_Transport.cpp')
-rw-r--r--TAO/tao/IIOP_Transport.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/tao/IIOP_Transport.cpp b/TAO/tao/IIOP_Transport.cpp
index a2cc548d8a7..67c1ef98b83 100644
--- a/TAO/tao/IIOP_Transport.cpp
+++ b/TAO/tao/IIOP_Transport.cpp
@@ -569,6 +569,9 @@ TAO_IIOP_Transport::get_listen_point (
-1);
}
+ ACE_INET_Addr *tmp_addr = ACE_const_cast (ACE_INET_Addr *,
+ endpoint_addr);
+
for (size_t index = 0;
index <= count;
index++)
@@ -579,7 +582,7 @@ TAO_IIOP_Transport::get_listen_point (
if (iiop_acceptor->hostname (this->orb_core_,
ACE_const_cast (ACE_INET_Addr,
- endpoint_addr[index]),
+ tmp_addr[index]),
acceptor_interface) == -1)
continue;