From 0bc80fab4dc53994efbd511b22b0c86d59baff8c Mon Sep 17 00:00:00 2001 From: schmidt Date: Wed, 26 Dec 2001 15:46:44 +0000 Subject: ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt --- examples/QOS/Simple/QoS_Util.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/QOS/Simple/QoS_Util.cpp') 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: -- cgit v1.2.1