summaryrefslogtreecommitdiff
path: root/TAO/tests/Smart_Proxies
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/tests/Smart_Proxies
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/tests/Smart_Proxies')
-rw-r--r--TAO/tests/Smart_Proxies/Benchmark/client.cpp6
-rw-r--r--TAO/tests/Smart_Proxies/Benchmark/server.cpp2
-rw-r--r--TAO/tests/Smart_Proxies/On_Demand/client.cpp2
-rw-r--r--TAO/tests/Smart_Proxies/On_Demand/server.cpp2
-rw-r--r--TAO/tests/Smart_Proxies/Policy/client.cpp6
-rw-r--r--TAO/tests/Smart_Proxies/Policy/server.cpp2
-rw-r--r--TAO/tests/Smart_Proxies/client.cpp2
-rw-r--r--TAO/tests/Smart_Proxies/server.cpp2
8 files changed, 12 insertions, 12 deletions
diff --git a/TAO/tests/Smart_Proxies/Benchmark/client.cpp b/TAO/tests/Smart_Proxies/Benchmark/client.cpp
index f019ad60a01..e155adea751 100644
--- a/TAO/tests/Smart_Proxies/Benchmark/client.cpp
+++ b/TAO/tests/Smart_Proxies/Benchmark/client.cpp
@@ -69,13 +69,13 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'i':
- ior = ACE_OS::strdup (get_opts.optarg);
+ ior = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'n':
- niterations = ACE_OS::atoi (get_opts.optarg);
+ niterations = ACE_OS::atoi (get_opts.opt_arg ());
break;
case 'r':
- register_smart_proxy = ACE_OS::atoi (get_opts.optarg);
+ register_smart_proxy = ACE_OS::atoi (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/tests/Smart_Proxies/Benchmark/server.cpp b/TAO/tests/Smart_Proxies/Benchmark/server.cpp
index 9c6f0e15935..f029aefbd0d 100644
--- a/TAO/tests/Smart_Proxies/Benchmark/server.cpp
+++ b/TAO/tests/Smart_Proxies/Benchmark/server.cpp
@@ -82,7 +82,7 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'o':
- ior_output_file = ACE_OS::strdup (get_opts.optarg);
+ ior_output_file = ACE_OS::strdup (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/tests/Smart_Proxies/On_Demand/client.cpp b/TAO/tests/Smart_Proxies/On_Demand/client.cpp
index 701aa5e3d8e..38576ea7d60 100644
--- a/TAO/tests/Smart_Proxies/On_Demand/client.cpp
+++ b/TAO/tests/Smart_Proxies/On_Demand/client.cpp
@@ -34,7 +34,7 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'i':
- ior = ACE_OS::strdup (get_opts.optarg);
+ ior = ACE_OS::strdup (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/tests/Smart_Proxies/On_Demand/server.cpp b/TAO/tests/Smart_Proxies/On_Demand/server.cpp
index 8260da63128..aa8145b53ec 100644
--- a/TAO/tests/Smart_Proxies/On_Demand/server.cpp
+++ b/TAO/tests/Smart_Proxies/On_Demand/server.cpp
@@ -80,7 +80,7 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'o':
- ior_output_file = ACE_OS::strdup (get_opts.optarg);
+ ior_output_file = ACE_OS::strdup (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/tests/Smart_Proxies/Policy/client.cpp b/TAO/tests/Smart_Proxies/Policy/client.cpp
index 5c5c0f2211a..b9a9b71b233 100644
--- a/TAO/tests/Smart_Proxies/Policy/client.cpp
+++ b/TAO/tests/Smart_Proxies/Policy/client.cpp
@@ -36,13 +36,13 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'i':
- ior1 = ACE_OS::strdup (get_opts.optarg);
+ ior1 = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'j':
- ior2 = ACE_OS::strdup (get_opts.optarg);
+ ior2 = ACE_OS::strdup (get_opts.opt_arg ());
break;
case 'f':
- one_shot_factory = ACE_OS::atoi (get_opts.optarg);
+ one_shot_factory = ACE_OS::atoi (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/tests/Smart_Proxies/Policy/server.cpp b/TAO/tests/Smart_Proxies/Policy/server.cpp
index 6c1780056d6..d83fffb74e9 100644
--- a/TAO/tests/Smart_Proxies/Policy/server.cpp
+++ b/TAO/tests/Smart_Proxies/Policy/server.cpp
@@ -80,7 +80,7 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'o':
- ior_output_file = ACE_OS::strdup (get_opts.optarg);
+ ior_output_file = ACE_OS::strdup (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/tests/Smart_Proxies/client.cpp b/TAO/tests/Smart_Proxies/client.cpp
index caeee42c552..7a1936ab633 100644
--- a/TAO/tests/Smart_Proxies/client.cpp
+++ b/TAO/tests/Smart_Proxies/client.cpp
@@ -34,7 +34,7 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'i':
- ior = ACE_OS::strdup (get_opts.optarg);
+ ior = ACE_OS::strdup (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/tests/Smart_Proxies/server.cpp b/TAO/tests/Smart_Proxies/server.cpp
index 71b28c0ecff..bf15eee2556 100644
--- a/TAO/tests/Smart_Proxies/server.cpp
+++ b/TAO/tests/Smart_Proxies/server.cpp
@@ -80,7 +80,7 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'o':
- ior_output_file = ACE_OS::strdup (get_opts.optarg);
+ ior_output_file = ACE_OS::strdup (get_opts.opt_arg ());
break;
case '?':
default: