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/QOS/Simple/QoS_Util.cpp | |
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/QOS/Simple/QoS_Util.cpp')
-rw-r--r-- | examples/QOS/Simple/QoS_Util.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/QOS/Simple/QoS_Util.cpp b/examples/QOS/Simple/QoS_Util.cpp index d75e9343ba6..9a72bf56df1 100644 --- a/examples/QOS/Simple/QoS_Util.cpp +++ b/examples/QOS/Simple/QoS_Util.cpp @@ -43,16 +43,16 @@ QoS_Util::parse_args (void) { case 'm': // multicast session address. this->multicast_flag_ = 1; - this->mult_session_addr_->set (get_opts.optarg); + this->mult_session_addr_->set (get_opts.opt_arg ()); break; case 'n': // to be used by Senders only to specify the destination. - this->dest_addr_->set (get_opts.optarg); + this->dest_addr_->set (get_opts.opt_arg ()); break; case 'p': // protocol. - if (ACE_OS::strcasecmp (get_opts.optarg, "tcp") == 0) + if (ACE_OS::strcasecmp (get_opts.opt_arg (), "tcp") == 0) this->protocol_ = IPPROTO_TCP; else - if (ACE_OS::strcasecmp (get_opts.optarg, "udp") == 0) + if (ACE_OS::strcasecmp (get_opts.opt_arg (), "udp") == 0) this->protocol_ = IPPROTO_UDP; else ACE_DEBUG ((LM_DEBUG, @@ -60,7 +60,7 @@ QoS_Util::parse_args (void) "UDP assumed\n")); break; case 'P': // sender source port. - this->source_port_ = ACE_OS::atoi (get_opts.optarg); + this->source_port_ = ACE_OS::atoi (get_opts.opt_arg ()); break; case 'h': // display help for different options. default: |