summaryrefslogtreecommitdiff
path: root/TAO/examples/PluggableUDP/tests
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
commitd200c2051c92cc193fdebaabd9c4b80935f33496 (patch)
tree1534aad8ba29d75881ad6f4ab980fb04525b42f3 /TAO/examples/PluggableUDP/tests
parentc13d83545ee97972e556b1fdc6eb81c318435f76 (diff)
downloadATCD-d200c2051c92cc193fdebaabd9c4b80935f33496.tar.gz
ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'TAO/examples/PluggableUDP/tests')
-rw-r--r--TAO/examples/PluggableUDP/tests/Basic/client.cpp6
-rw-r--r--TAO/examples/PluggableUDP/tests/Basic/server.cpp2
-rw-r--r--TAO/examples/PluggableUDP/tests/Performance/client.cpp6
-rw-r--r--TAO/examples/PluggableUDP/tests/Performance/server.cpp4
4 files changed, 9 insertions, 9 deletions
diff --git a/TAO/examples/PluggableUDP/tests/Basic/client.cpp b/TAO/examples/PluggableUDP/tests/Basic/client.cpp
index 56c304b6d1a..90cd6bfcc2d 100644
--- a/TAO/examples/PluggableUDP/tests/Basic/client.cpp
+++ b/TAO/examples/PluggableUDP/tests/Basic/client.cpp
@@ -49,13 +49,13 @@ parse_args (int argc, char *argv[])
TAO_debug_level++;
break;
case 'k':
- ior = get_opts.optarg;
+ ior = get_opts.opt_arg ();
break;
case 't':
- msec = ACE_OS::atoi (get_opts.optarg);
+ msec = ACE_OS::atoi (get_opts.opt_arg ());
break;
case 'i':
- iterations = ACE_OS::atoi (get_opts.optarg);
+ iterations = ACE_OS::atoi (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/examples/PluggableUDP/tests/Basic/server.cpp b/TAO/examples/PluggableUDP/tests/Basic/server.cpp
index 174014990d7..0397c8a3c7e 100644
--- a/TAO/examples/PluggableUDP/tests/Basic/server.cpp
+++ b/TAO/examples/PluggableUDP/tests/Basic/server.cpp
@@ -42,7 +42,7 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'o':
- ior_output_file = get_opts.optarg;
+ ior_output_file = get_opts.opt_arg ();
break;
case 'd':
TAO_debug_level++;
diff --git a/TAO/examples/PluggableUDP/tests/Performance/client.cpp b/TAO/examples/PluggableUDP/tests/Performance/client.cpp
index ab85fa6cc8a..995ef1c8a14 100644
--- a/TAO/examples/PluggableUDP/tests/Performance/client.cpp
+++ b/TAO/examples/PluggableUDP/tests/Performance/client.cpp
@@ -48,13 +48,13 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'k':
- ior = get_opts.optarg;
+ ior = get_opts.opt_arg ();
break;
case 't':
- burst_messages = ACE_OS::atoi (get_opts.optarg);
+ burst_messages = ACE_OS::atoi (get_opts.opt_arg ());
break;
case 'i':
- final_delta_micro_seconds = ACE_OS::atoi (get_opts.optarg);
+ final_delta_micro_seconds = ACE_OS::atoi (get_opts.opt_arg ());
break;
case '?':
default:
diff --git a/TAO/examples/PluggableUDP/tests/Performance/server.cpp b/TAO/examples/PluggableUDP/tests/Performance/server.cpp
index 4e5f0e63977..e2ca027a6e2 100644
--- a/TAO/examples/PluggableUDP/tests/Performance/server.cpp
+++ b/TAO/examples/PluggableUDP/tests/Performance/server.cpp
@@ -43,10 +43,10 @@ parse_args (int argc, char *argv[])
switch (c)
{
case 'o':
- ior_output_file = get_opts.optarg;
+ ior_output_file = get_opts.opt_arg ();
break;
case 'i':
- orb_threads = ACE_OS::atoi (get_opts.optarg);
+ orb_threads = ACE_OS::atoi (get_opts.opt_arg ());
break;
case '?':
default: