summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Interoperable_Naming
diff options
context:
space:
mode:
authorpgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-03 00:00:23 +0000
committerpgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-03 00:00:23 +0000
commiteee4b37372dd95c6e4a04c302bbeb0f3c90d0df7 (patch)
tree39e628eb5e5b52c8e157309bf412c501390261c2 /TAO/orbsvcs/tests/Interoperable_Naming
parent0b2b0e66fe972c84363a74bff3da808f1d9afb64 (diff)
downloadATCD-eee4b37372dd95c6e4a04c302bbeb0f3c90d0df7.tar.gz
ChangeLogTag: Wed Jan 2 15:57:52 2002 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/orbsvcs/tests/Interoperable_Naming')
-rw-r--r--TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp b/TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp
index b1b0d4dfdee..5ef63c898b0 100644
--- a/TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp
+++ b/TAO/orbsvcs/tests/Interoperable_Naming/ncontextext_client_i.cpp
@@ -215,16 +215,17 @@ NContextExt_Client_i::run (TAO_ENV_SINGLE_ARG_DECL)
// the LocateReply or LOCATION_FORWARD reply by an agent listening
// at that address
//
- CORBA::String_var address = CORBA::string_dup ("myhost.555xyz.com:9999");
+ CORBA::String_var address =
+ CORBA::string_dup (":myhost.555xyz.com:9999");
// Since we are just testing the functionality of the to_url
// function, use a random object name.
- //
CORBA::String_var obj_name = get_name ();
- CORBA::String_var url_string = this->naming_context_->to_url (address.in (),
- obj_name.in()
- TAO_ENV_ARG_PARAMETER);
+ CORBA::String_var url_string =
+ this->naming_context_->to_url (address.in (),
+ obj_name.in()
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK_EX (OuterBlock);
if (this->view_ == 0)