diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-12-26 15:46:44 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-12-26 15:46:44 +0000 |
commit | 0bc80fab4dc53994efbd511b22b0c86d59baff8c (patch) | |
tree | 3e074e160a2e59a236f10781cfcb0e071b49fac8 /examples/NT_Service | |
parent | cde21c2507ace716fc833231662ff0f85ff13f5a (diff) | |
download | ATCD-0bc80fab4dc53994efbd511b22b0c86d59baff8c.tar.gz |
ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'examples/NT_Service')
-rw-r--r-- | examples/NT_Service/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/NT_Service/main.cpp b/examples/NT_Service/main.cpp index c517615a11e..5f23fa3fb7d 100644 --- a/examples/NT_Service/main.cpp +++ b/examples/NT_Service/main.cpp @@ -100,7 +100,7 @@ Process::parse_args (int argc, ACE_TCHAR* argv[]) { case 'i': opt_install = 1; - opt_startup = ACE_OS::atoi (get_opt.optarg); + opt_startup = ACE_OS::atoi (get_opt.opt_arg ()); if (opt_startup <= 0) print_usage_and_die (); break; @@ -115,7 +115,7 @@ Process::parse_args (int argc, ACE_TCHAR* argv[]) break; case 't': opt_type = 1; - opt_startup = ACE_OS::atoi (get_opt.optarg); + opt_startup = ACE_OS::atoi (get_opt.opt_arg ()); if (opt_startup <= 0) print_usage_and_die (); break; @@ -125,7 +125,7 @@ Process::parse_args (int argc, ACE_TCHAR* argv[]) default: // -i can also be given without a value - if so, it defaults // to defined value. - if (ACE_OS::strcmp (get_opt.argv_[get_opt.optind-1], ACE_TEXT ("-i")) == 0) + if (ACE_OS::strcmp (get_opt.argv ()[get_opt.opt_ind () - 1], ACE_TEXT ("-i")) == 0) { opt_install = 1; opt_startup = DEFAULT_SERVICE_INIT_STARTUP; |