summaryrefslogtreecommitdiff
path: root/examples/Reactor/Proactor/test_proactor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Reactor/Proactor/test_proactor.cpp')
-rw-r--r--examples/Reactor/Proactor/test_proactor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/Reactor/Proactor/test_proactor.cpp b/examples/Reactor/Proactor/test_proactor.cpp
index 9eaf6c99e5a..a2ec5dd138c 100644
--- a/examples/Reactor/Proactor/test_proactor.cpp
+++ b/examples/Reactor/Proactor/test_proactor.cpp
@@ -640,16 +640,16 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'h':
- host = get_opt.optarg;
+ host = get_opt.opt_arg ();
break;
case 'p':
- port = ACE_OS::atoi (get_opt.optarg);
+ port = ACE_OS::atoi (get_opt.opt_arg ());
break;
case 'f':
- file = get_opt.optarg;
+ file = get_opt.opt_arg ();
break;
case 'd':
- dump_file = get_opt.optarg;
+ dump_file = get_opt.opt_arg ();
break;
default:
ACE_ERROR ((LM_ERROR, "%p.\n",