summaryrefslogtreecommitdiff
path: root/TAO/tao
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
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')
-rw-r--r--TAO/tao/IIOP_Endpoint.cpp7
-rw-r--r--TAO/tao/Strategies/SCIOP_Endpoint.cpp7
2 files changed, 12 insertions, 2 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);
diff --git a/TAO/tao/Strategies/SCIOP_Endpoint.cpp b/TAO/tao/Strategies/SCIOP_Endpoint.cpp
index c637c950971..b6806457b62 100644
--- a/TAO/tao/Strategies/SCIOP_Endpoint.cpp
+++ b/TAO/tao/Strategies/SCIOP_Endpoint.cpp
@@ -300,7 +300,12 @@ TAO_SCIOP_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);