summaryrefslogtreecommitdiff
path: root/TAO/examples/ior_corbaloc/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/ior_corbaloc/server.cpp')
-rw-r--r--TAO/examples/ior_corbaloc/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/examples/ior_corbaloc/server.cpp b/TAO/examples/ior_corbaloc/server.cpp
index c5e325791c8..fcf73639625 100644
--- a/TAO/examples/ior_corbaloc/server.cpp
+++ b/TAO/examples/ior_corbaloc/server.cpp
@@ -46,7 +46,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
// Create the servant
corbaloc_Status_i status_i;
- status_i.set_name (argv[1]);
+ status_i.set_name (convert.get_ASCII_argv()[1]);
// Activate it to obtain the reference
corbaloc::Status_var status =
status_i._this ();