diff options
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows')
-rw-r--r-- | TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/receiver.cpp | 4 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/sender.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/receiver.cpp b/TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/receiver.cpp index 7c8defb9058..1856b71f12c 100644 --- a/TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/receiver.cpp +++ b/TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/receiver.cpp @@ -171,10 +171,10 @@ Receiver::parse_args (int argc, switch (c) { case 'f': - this->filename_ = opts.optarg; + this->filename_ = opts.opt_arg (); break; case 'r': - this->frame_rate_ = ACE_OS::atoi (opts.optarg); + this->frame_rate_ = ACE_OS::atoi (opts.opt_arg ()); break; case 'd': TAO_debug_level++; diff --git a/TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/sender.cpp b/TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/sender.cpp index bdc873a3ac6..c09aa152355 100644 --- a/TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/sender.cpp +++ b/TAO/orbsvcs/tests/AVStreams/Bidirectional_Flows/sender.cpp @@ -132,13 +132,13 @@ Sender::parse_args (int argc, switch (c) { case 'f': - this->filename_ = opts.optarg; + this->filename_ = opts.opt_arg (); break; case 'p': - this->protocol_ = opts.optarg; + this->protocol_ = opts.opt_arg (); break; case 'r': - this->frame_rate_ = ACE_OS::atoi (opts.optarg); + this->frame_rate_ = ACE_OS::atoi (opts.opt_arg ()); break; case 'd': TAO_debug_level++; |