diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-09 19:23:29 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-09 19:23:29 +0000 |
commit | 9ebae015b07a3d8b6aa15c5a6333ef4412e2dfbb (patch) | |
tree | f93648a3aec72a32e8579fc458a37800a66fae86 /TAO/performance-tests | |
parent | 0072fbe26eefdeea5c2285abc7e0791c6ddaa0d0 (diff) | |
download | ATCD-9ebae015b07a3d8b6aa15c5a6333ef4412e2dfbb.tar.gz |
Diffstat (limited to 'TAO/performance-tests')
-rw-r--r-- | TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp b/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp index 3fcc0d019d4..021780d043c 100644 --- a/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp +++ b/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp @@ -296,17 +296,17 @@ parse_args (int argc, ACE_TCHAR *argv[]) case 't': { - char *tmp = get_opts.opt_arg (); + ACE_TCHAR *tmp = get_opts.opt_arg (); - if (!ACE_OS::strcmp (tmp, "none")) + if (!ACE_OS::strcmp (tmp, ACE_TEXT("none"))) sync_scope = Messaging::SYNC_NONE; - else if (!ACE_OS::strcmp (tmp, "transport")) + else if (!ACE_OS::strcmp (tmp, ACE_TEXT("transport"))) sync_scope = Messaging::SYNC_WITH_TRANSPORT; - else if (!ACE_OS::strcmp (tmp, "server")) + else if (!ACE_OS::strcmp (tmp, ACE_TEXT("server"))) sync_scope = Messaging::SYNC_WITH_SERVER; - else if (!ACE_OS::strcmp (tmp, "target")) + else if (!ACE_OS::strcmp (tmp, ACE_TEXT("target"))) sync_scope = Messaging::SYNC_WITH_TARGET; - else if (!ACE_OS::strcmp (tmp, "twoway")) + else if (!ACE_OS::strcmp (tmp, ACE_TEXT("twoway"))) test_twoway = 1; else error = 1; @@ -315,13 +315,13 @@ parse_args (int argc, ACE_TCHAR *argv[]) case 'l': { - char *tmp = get_opts.opt_arg (); + ACE_TCHAR *tmp = get_opts.opt_arg (); - if (!ACE_OS::strcmp (tmp, "orb")) + if (!ACE_OS::strcmp (tmp, ACE_TEXT("orb"))) level = ORB_LEVEL; - else if (!ACE_OS::strcmp (tmp, "thread")) + else if (!ACE_OS::strcmp (tmp, ACE_TEXT("thread"))) level = THREAD_LEVEL; - else if (!ACE_OS::strcmp (tmp, "object")) + else if (!ACE_OS::strcmp (tmp, ACE_TEXT("object"))) level = OBJECT_LEVEL; else error = 1; |