summaryrefslogtreecommitdiff
path: root/netsvcs/clients/Naming/Client/Client_Test.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-08-27 17:40:28 +0000
committerSteve Huston <shuston@riverace.com>2004-08-27 17:40:28 +0000
commit61eace73a60808c43cb914ebb71e392b9a9c76ab (patch)
tree3892c5798cac4b63e0e33f7113787704887a87da /netsvcs/clients/Naming/Client/Client_Test.cpp
parente8361fb4a9f83aac29ff081df3c86d0b3530d574 (diff)
downloadATCD-61eace73a60808c43cb914ebb71e392b9a9c76ab.tar.gz
ChangeLogTag:Fri Aug 27 13:38:25 2004 Steve Huston <shuston@riverace.com>
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 ce3e2942219..0f87432d246 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 ("localhost");
+ this->name_options_->nameserver_host (ACE_TEXT ("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 ("localhost");
+ this->name_options_->nameserver_host (ACE_TEXT ("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 (hostname);
+ this->name_options_->nameserver_host (ACE_TEXT_CHAR_TO_TCHAR (hostname));
this->name_options_->nameserver_port (port);
return NAMING_CONTEXT ()->open (ACE_Naming_Context::NET_LOCAL);