summaryrefslogtreecommitdiff
path: root/tests/Process_Strategy_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 17:20:10 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 17:20:10 +0000
commit7d25b6ca474784de9c2dd8ee8eab286812c7bb9d (patch)
tree6f66bf0c494d95cd4aade9ee2071ba1d3a677fc0 /tests/Process_Strategy_Test.cpp
parent316753d8d6f613f7e74efbb17d687a0ebc5fe8dc (diff)
downloadATCD-7d25b6ca474784de9c2dd8ee8eab286812c7bb9d.tar.gz
ChangeLogTag:Wed Dec 26 11:18:31 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'tests/Process_Strategy_Test.cpp')
-rw-r--r--tests/Process_Strategy_Test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Process_Strategy_Test.cpp b/tests/Process_Strategy_Test.cpp
index 29378957c55..9df08889e69 100644
--- a/tests/Process_Strategy_Test.cpp
+++ b/tests/Process_Strategy_Test.cpp
@@ -198,16 +198,16 @@ Options::parse_args (int argc, ACE_TCHAR *argv[])
switch (c)
{
case 'c':
- if (ACE_OS::strcmp (get_opt.optarg,
+ if (ACE_OS::strcmp (get_opt.opt_arg (),
ACE_TEXT ("REACTIVE")) == 0)
OPTIONS::instance ()->concurrency_type (Options::REACTIVE);
#if !defined (ACE_LACKS_FORK)
- else if (ACE_OS::strcmp (get_opt.optarg,
+ else if (ACE_OS::strcmp (get_opt.opt_arg (),
ACE_TEXT ("PROCESS")) == 0)
OPTIONS::instance ()->concurrency_type (Options::PROCESS);
#endif /* !ACE_LACKS_FORK */
#if defined (ACE_HAS_THREADS)
- else if (ACE_OS::strcmp (get_opt.optarg,
+ else if (ACE_OS::strcmp (get_opt.opt_arg (),
ACE_TEXT ("THREAD")) == 0)
OPTIONS::instance ()->concurrency_type (Options::THREAD);
#endif /* ACE_HAS_THREADS */
@@ -215,10 +215,10 @@ Options::parse_args (int argc, ACE_TCHAR *argv[])
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("WARNING: concurrency strategy \"%s\" ")
ACE_TEXT ("is not supported\n"),
- get_opt.optarg));
+ get_opt.opt_arg ()));
break;
case 'f':
- ACE_OS::strcpy (this->filename_, get_opt.optarg);
+ ACE_OS::strcpy (this->filename_, get_opt.opt_arg ());
break;
default:
ACE_DEBUG ((LM_DEBUG,