summaryrefslogtreecommitdiff
path: root/netsvcs/clients/Naming/Client/Client_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs/clients/Naming/Client/Client_Test.cpp')
-rw-r--r--netsvcs/clients/Naming/Client/Client_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/netsvcs/clients/Naming/Client/Client_Test.cpp b/netsvcs/clients/Naming/Client/Client_Test.cpp
index 0f87432d246..ce3e2942219 100644
--- a/netsvcs/clients/Naming/Client/Client_Test.cpp
+++ b/netsvcs/clients/Naming/Client/Client_Test.cpp
@@ -381,7 +381,7 @@ Client_Test::set_proc_local (void)
{
// Close down original name space
NAMING_CONTEXT ()->close ();
- this->name_options_->nameserver_host (ACE_TEXT ("localhost"));
+ this->name_options_->nameserver_host ("localhost");
this->name_options_->context (ACE_Naming_Context::PROC_LOCAL);
return NAMING_CONTEXT ()->open (ACE_Naming_Context::PROC_LOCAL);
}
@@ -391,7 +391,7 @@ Client_Test::set_node_local (void)
{
// Close down original name space
NAMING_CONTEXT ()->close ();
- this->name_options_->nameserver_host (ACE_TEXT ("localhost"));
+ this->name_options_->nameserver_host ("localhost");
this->name_options_->context (ACE_Naming_Context::NODE_LOCAL);
return NAMING_CONTEXT ()->open (ACE_Naming_Context::NODE_LOCAL);
}
@@ -404,7 +404,7 @@ Client_Test::set_host (const char *hostname, int port)
this->name_options_->context (ACE_Naming_Context::NET_LOCAL);
// Set Name Options
- this->name_options_->nameserver_host (ACE_TEXT_CHAR_TO_TCHAR (hostname));
+ this->name_options_->nameserver_host (hostname);
this->name_options_->nameserver_port (port);
return NAMING_CONTEXT ()->open (ACE_Naming_Context::NET_LOCAL);