From 7d25b6ca474784de9c2dd8ee8eab286812c7bb9d Mon Sep 17 00:00:00 2001 From: schmidt Date: Wed, 26 Dec 2001 17:20:10 +0000 Subject: ChangeLogTag:Wed Dec 26 11:18:31 2001 Douglas C. Schmidt --- tests/Cached_Conn_Test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/Cached_Conn_Test.cpp') 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': -- cgit v1.2.1