summaryrefslogtreecommitdiff
path: root/TAO/tao/CORBALOC_Parser.cpp
diff options
context:
space:
mode:
authorpgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-12-27 19:56:53 +0000
committerpgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-12-27 19:56:53 +0000
commit233f7a9c007989346f1a7235ec06683b6133ea11 (patch)
treec31f0057362292f8583a7c8e4a154ec3ca02393d /TAO/tao/CORBALOC_Parser.cpp
parenta39a0452d60b4c5aa12e7c7ed157fc1dfa9abb40 (diff)
downloadATCD-233f7a9c007989346f1a7235ec06683b6133ea11.tar.gz
ChangeLogTag: Fri Dec 27 11:49:22 2002 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/tao/CORBALOC_Parser.cpp')
-rw-r--r--TAO/tao/CORBALOC_Parser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/CORBALOC_Parser.cpp b/TAO/tao/CORBALOC_Parser.cpp
index abb8ac5b806..68e4e23f8b6 100644
--- a/TAO/tao/CORBALOC_Parser.cpp
+++ b/TAO/tao/CORBALOC_Parser.cpp
@@ -210,7 +210,6 @@ TAO_CORBALOC_Parser::assign_key_string (char *& cloc_name_ptr,
void
TAO_CORBALOC_Parser::parse_string_assign_helper (
- CORBA::ULong &addr_list_length,
ACE_CString &key_string,
ACE_CString &cloc_name,
CORBA::ORB_ptr orb,
@@ -228,12 +227,14 @@ TAO_CORBALOC_Parser::parse_string_assign_helper (
",",
&last_addr);
+ CORBA::ULong length;
while (cloc_name_ptr != 0)
{
+ length = ACE_OS::strlen (cloc_name_ptr);
// Forms the endpoint and calls the mprofile_helper.
this->assign_key_string (cloc_name_ptr,
key_string,
- addr_list_length,
+ length,
orb,
mprofile
ACE_ENV_ARG_PARAMETER);
@@ -457,8 +458,7 @@ TAO_CORBALOC_Parser::parse_string (const char * ior,
// Get each endpoint: For each endpoint, make a MProfile and add
// it to the main MProfile whose reference is passed to the
// application
- this->parse_string_assign_helper (addr_list_length,
- key_string,
+ this->parse_string_assign_helper (key_string,
cloc_name,
orb,
mprofile