diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-12-26 15:55:59 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-12-26 15:55:59 +0000 |
commit | d200c2051c92cc193fdebaabd9c4b80935f33496 (patch) | |
tree | 1534aad8ba29d75881ad6f4ab980fb04525b42f3 /TAO/performance-tests/Pluggable | |
parent | c13d83545ee97972e556b1fdc6eb81c318435f76 (diff) | |
download | ATCD-d200c2051c92cc193fdebaabd9c4b80935f33496.tar.gz |
ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'TAO/performance-tests/Pluggable')
-rw-r--r-- | TAO/performance-tests/Pluggable/PP_Test_Client.cpp | 8 | ||||
-rw-r--r-- | TAO/performance-tests/Pluggable/PP_Test_Server.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/TAO/performance-tests/Pluggable/PP_Test_Client.cpp b/TAO/performance-tests/Pluggable/PP_Test_Client.cpp index cffa1ac71c4..060dcfb62f8 100644 --- a/TAO/performance-tests/Pluggable/PP_Test_Client.cpp +++ b/TAO/performance-tests/Pluggable/PP_Test_Client.cpp @@ -122,19 +122,19 @@ PP_Test_Client::parse_args (void) break; case 'n': // loop count this->loop_count_ = - (u_int) ACE_OS::atoi (get_opts.optarg); + (u_int) ACE_OS::atoi (get_opts.opt_arg ()); break; case 'f': // read the IOR from the file. - result = this->read_ior (get_opts.optarg); + result = this->read_ior (get_opts.opt_arg ()); if (result < 0) ACE_ERROR_RETURN ((LM_ERROR, "Unable to read ior from %s : %p\n", - get_opts.optarg), + get_opts.opt_arg ()), -1); break; case 'k': // read the cubit IOR from the command-line. this->factory_key_ = - ACE_OS::strdup (get_opts.optarg); + ACE_OS::strdup (get_opts.opt_arg ()); break; case 'x': ACE_DEBUG ((LM_DEBUG, "We will shutdown the server\n")); diff --git a/TAO/performance-tests/Pluggable/PP_Test_Server.cpp b/TAO/performance-tests/Pluggable/PP_Test_Server.cpp index 6b223de0f87..c52492bca10 100644 --- a/TAO/performance-tests/Pluggable/PP_Test_Server.cpp +++ b/TAO/performance-tests/Pluggable/PP_Test_Server.cpp @@ -24,11 +24,11 @@ PP_Test_Server::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), + get_opts.opt_arg ()), -1); break; case '?': |