diff options
Diffstat (limited to 'TAO/tao/IIOP_Endpoint.cpp')
-rw-r--r-- | TAO/tao/IIOP_Endpoint.cpp | 7 |
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); |