summaryrefslogtreecommitdiff
path: root/examples/Reactor/Multicast/client.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:46:44 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:46:44 +0000
commit0bc80fab4dc53994efbd511b22b0c86d59baff8c (patch)
tree3e074e160a2e59a236f10781cfcb0e071b49fac8 /examples/Reactor/Multicast/client.cpp
parentcde21c2507ace716fc833231662ff0f85ff13f5a (diff)
downloadATCD-0bc80fab4dc53994efbd511b22b0c86d59baff8c.tar.gz
ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'examples/Reactor/Multicast/client.cpp')
-rw-r--r--examples/Reactor/Multicast/client.cpp4
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