summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:55:59 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:55:59 +0000
commit9373ca40cf71d21bf53f64d2a0ccd130d6524e73 (patch)
tree1534aad8ba29d75881ad6f4ab980fb04525b42f3 /TAO/orbsvcs/tests/ImplRepo
parent0bc80fab4dc53994efbd511b22b0c86d59baff8c (diff)
downloadATCD-9373ca40cf71d21bf53f64d2a0ccd130d6524e73.tar.gz
ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'TAO/orbsvcs/tests/ImplRepo')
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/airplane_client_i.cpp4
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/airplane_server_i.cpp4
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp2
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/nestea_server_i.cpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/airplane_client_i.cpp b/TAO/orbsvcs/tests/ImplRepo/airplane_client_i.cpp
index a138972dd69..97786e3d430 100644
--- a/TAO/orbsvcs/tests/ImplRepo/airplane_client_i.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/airplane_client_i.cpp
@@ -31,10 +31,10 @@ Airplane_Client_i::parse_args (void)
TAO_debug_level++;
break;
case 'n': // loop count
- this->loop_count_ = (u_int) ACE_OS::atoi (get_opts.optarg);
+ this->loop_count_ = (u_int) ACE_OS::atoi (get_opts.opt_arg ());
break;
case 'k': // ior provide on command line
- this->server_key_ = ACE::strnew (get_opts.optarg);
+ this->server_key_ = ACE::strnew (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/orbsvcs/tests/ImplRepo/airplane_server_i.cpp b/TAO/orbsvcs/tests/ImplRepo/airplane_server_i.cpp
index d0864f3e575..2c7e1e9ebb1 100644
--- a/TAO/orbsvcs/tests/ImplRepo/airplane_server_i.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/airplane_server_i.cpp
@@ -33,11 +33,11 @@ Airplane_Server_i::parse_args (void)
TAO_debug_level++;
break;
case 'o': // output the IOR to a file.
- this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w");
+ this->ior_output_file_ = ACE_OS::fopen (get_opts.opt_arg (), "w");
if (this->ior_output_file_ == 0)
ACE_ERROR_RETURN ((LM_ERROR,
"Unable to open %s for writing: %p\n",
- get_opts.optarg), -1);
+ get_opts.opt_arg ()), -1);
break;
case '?': // display help for use of the server.
default:
diff --git a/TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp b/TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp
index f0c05263d59..15205c9dcc3 100644
--- a/TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp
@@ -30,7 +30,7 @@ Nestea_Client_i::parse_args (void)
TAO_debug_level++;
break;
case 'k': // ior provide on command line
- this->server_key_ = ACE::strnew (get_opts.optarg);
+ this->server_key_ = ACE::strnew (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/orbsvcs/tests/ImplRepo/nestea_server_i.cpp b/TAO/orbsvcs/tests/ImplRepo/nestea_server_i.cpp
index 9387ac9edcd..40ced68ec1e 100644
--- a/TAO/orbsvcs/tests/ImplRepo/nestea_server_i.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/nestea_server_i.cpp
@@ -53,11 +53,11 @@ Nestea_Server_i::parse_args (void)
TAO_debug_level++;
break;
case 'o': // output the IOR to a file.
- this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w");
+ this->ior_output_file_ = ACE_OS::fopen (get_opts.opt_arg (), "w");
if (this->ior_output_file_ == 0)
ACE_ERROR_RETURN ((LM_ERROR,
"Unable to open %s for writing: %p\n",
- get_opts.optarg), -1);
+ get_opts.opt_arg ()), -1);
break;
case '?': // display help for use of the server.
default: