summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-10-11 10:52:55 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-10-11 10:52:55 +0000
commit968a413603836fa9fe1b4fcb42bbb2aa3f59543c (patch)
tree64c7992dfa58880a16f4b78370c14105e94d595d
parent439510ff5465243a123bb04ccb9fa3555c53f2ba (diff)
downloadATCD-968a413603836fa9fe1b4fcb42bbb2aa3f59543c.tar.gz
-rw-r--r--TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp b/TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp
index 3e04a795d9a..ff95c5560d3 100644
--- a/TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp
+++ b/TAO/orbsvcs/tests/Security/MT_SSLIOP/server.cpp
@@ -6,7 +6,7 @@
#include "Server_Worker.h"
const ACE_TCHAR *ior_output_file = 0;
-char *another_output_file = 0;
+ACE_TCHAR *another_output_file = 0;
const char *ior_table_name = 0;
char *another_table_name = 0;
int nthreads = 4;
@@ -22,7 +22,7 @@ parse_args (int argc, ACE_TCHAR *argv[])
{
case 'i':
{
- ior_table_name = get_opts.opt_arg ();
+ ior_table_name = ACE_TEXT_ALWAYS_CHAR(get_opts.opt_arg ());
int len = ACE_OS::strlen(ior_table_name) + 1;
another_table_name = new char[len + 1];
ACE_OS::strcpy(another_table_name, ior_table_name);
@@ -34,7 +34,7 @@ parse_args (int argc, ACE_TCHAR *argv[])
{
ior_output_file = get_opts.opt_arg ();
int len = ACE_OS::strlen(ior_output_file) + 1;
- another_output_file = new char[len + 1];
+ another_output_file = new ACE_TCHAR[len + 1];
ACE_OS::strcpy(another_output_file, ior_output_file);
another_output_file[len-1] = '1';
another_output_file[len] = '\0';