From 7d25b6ca474784de9c2dd8ee8eab286812c7bb9d Mon Sep 17 00:00:00 2001 From: schmidt Date: Wed, 26 Dec 2001 17:20:10 +0000 Subject: ChangeLogTag:Wed Dec 26 11:18:31 2001 Douglas C. Schmidt --- tests/Process_Strategy_Test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/Process_Strategy_Test.cpp') 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, -- cgit v1.2.1