diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-12-26 17:20:10 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-12-26 17:20:10 +0000 |
commit | 8c34ab6fa7f73360fd43780b094a5d0e2eaf49b3 (patch) | |
tree | 6f66bf0c494d95cd4aade9ee2071ba1d3a677fc0 /tests/Cached_Conn_Test.cpp | |
parent | e19a2ca334f7fa4a070f1892ad891ff1d089299c (diff) | |
download | ATCD-8c34ab6fa7f73360fd43780b094a5d0e2eaf49b3.tar.gz |
ChangeLogTag:Wed Dec 26 11:18:31 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'tests/Cached_Conn_Test.cpp')
-rw-r--r-- | tests/Cached_Conn_Test.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/Cached_Conn_Test.cpp b/tests/Cached_Conn_Test.cpp index 85909048927..5f04ab3f09f 100644 --- a/tests/Cached_Conn_Test.cpp +++ b/tests/Cached_Conn_Test.cpp @@ -580,30 +580,30 @@ parse_args (int argc, ACE_TCHAR *argv[]) debug = 1; break; case 'l': - listen_once = ACE_OS::atoi (get_opt.optarg); + listen_once = ACE_OS::atoi (get_opt.opt_arg ()); break; case 'i': - iterations = ACE_OS::atoi (get_opt.optarg); + iterations = ACE_OS::atoi (get_opt.opt_arg ()); user_has_specified_iterations = 1; break; case 'p': - purge_percentage = ACE_OS::atoi (get_opt.optarg); + purge_percentage = ACE_OS::atoi (get_opt.opt_arg ()); break; case 'c': // Note that if null caching strategy is used then this test // will fail if the number of servers exceed number of open // files allowed for the process. - if (ACE_OS::strcmp (get_opt.optarg, ACE_TEXT ("null")) == 0) + if (ACE_OS::strcmp (get_opt.opt_arg (), ACE_TEXT ("null")) == 0) caching_strategy_type = ACE_NULL; - if (ACE_OS::strcmp (get_opt.optarg, ACE_TEXT ("lru")) == 0) + if (ACE_OS::strcmp (get_opt.opt_arg (), ACE_TEXT ("lru")) == 0) caching_strategy_type = ACE_LRU; - if (ACE_OS::strcmp (get_opt.optarg, ACE_TEXT ("lfu")) == 0) + if (ACE_OS::strcmp (get_opt.opt_arg (), ACE_TEXT ("lfu")) == 0) caching_strategy_type = ACE_LFU; - if (ACE_OS::strcmp (get_opt.optarg, ACE_TEXT ("fifo")) == 0) + if (ACE_OS::strcmp (get_opt.opt_arg (), ACE_TEXT ("fifo")) == 0) caching_strategy_type = ACE_FIFO; break; case 'a': - keep_handles_available = ACE_OS::atoi (get_opt.optarg); + keep_handles_available = ACE_OS::atoi (get_opt.opt_arg ()); break; case '?': case 'h': |