diff options
Diffstat (limited to 'examples/Reactor/Multicast/client.cpp')
-rw-r--r-- | examples/Reactor/Multicast/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Reactor/Multicast/client.cpp b/examples/Reactor/Multicast/client.cpp index 10c16b7c24a..2845d556cf0 100644 --- a/examples/Reactor/Multicast/client.cpp +++ b/examples/Reactor/Multicast/client.cpp @@ -33,10 +33,10 @@ parse_args (int argc, ACE_TCHAR *argv[]) switch (c) { case 'm': - max_message_size = ACE_OS::atoi (getopt.optarg) * BUFSIZ; + max_message_size = ACE_OS::atoi (getopt.opt_arg ()) * BUFSIZ; break; case 'i': - iterations = ACE_OS::atoi (getopt.optarg); + iterations = ACE_OS::atoi (getopt.opt_arg ()); break; case 'u': // usage fallthrough |