summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Endpoint.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-12-04 00:22:43 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-12-04 00:22:43 +0000
commitb4b7753a6196e218c0b0944408848c28408dc275 (patch)
treef9839180e068749c64e0234e8ee6a37e479ee87b /TAO/tao/IIOP_Endpoint.cpp
parent7692050f45e41cdd94bc467aa3f7698cf2375a6f (diff)
downloadATCD-b4b7753a6196e218c0b0944408848c28408dc275.tar.gz
ChangeLogTag:Sat Dec 4 00:17:31 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/IIOP_Endpoint.cpp')
-rw-r--r--TAO/tao/IIOP_Endpoint.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tao/IIOP_Endpoint.cpp b/TAO/tao/IIOP_Endpoint.cpp
index 3e63ed7de0d..22bbbadf5c2 100644
--- a/TAO/tao/IIOP_Endpoint.cpp
+++ b/TAO/tao/IIOP_Endpoint.cpp
@@ -266,7 +266,12 @@ TAO_IIOP_Endpoint::preferred_interfaces (TAO_ORB_Core *oc)
// Search for the ":"
ssize_t col_pos = rem_tmp.find (":");
- if (col_pos == ACE_CString::npos) continue;
+ if (col_pos == ACE_CString::npos)
+ {
+ pos = tmp.find (latest->host_.in (),
+ pos + length);
+ continue;
+ }
ACE_CString path = rem_tmp.substr (col_pos + 1);