diff options
-rw-r--r-- | TAO/tao/CORBALOC_Parser.cpp | 2 | ||||
-rw-r--r-- | TAO/tao/Strategies/UIOP_Connector.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/CORBALOC_Parser.cpp b/TAO/tao/CORBALOC_Parser.cpp index 35c7976cdd7..fd98b445944 100644 --- a/TAO/tao/CORBALOC_Parser.cpp +++ b/TAO/tao/CORBALOC_Parser.cpp @@ -171,7 +171,7 @@ TAO_CORBALOC_Parser::parse_string (const char * ior, CORBA::ORB_ptr orb) continue; } - if (*ior == '/') // found key separator + if (*ior == endpoints[ndx].obj_key_sep_) // found key separator { ++ior; break; diff --git a/TAO/tao/Strategies/UIOP_Connector.cpp b/TAO/tao/Strategies/UIOP_Connector.cpp index 1d739ccd8c8..c4abd8dd420 100644 --- a/TAO/tao/Strategies/UIOP_Connector.cpp +++ b/TAO/tao/Strategies/UIOP_Connector.cpp @@ -86,7 +86,7 @@ TAO_UIOP_Connector::corbaloc_scan (const char *str, size_t &len) str)); return 0; } - len = (separator - str) + 1; + len = separator - str; return this->make_profile (); } |