summaryrefslogtreecommitdiff
path: root/tests/Cached_Conn_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 17:20:10 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 17:20:10 +0000
commit7d25b6ca474784de9c2dd8ee8eab286812c7bb9d (patch)
tree6f66bf0c494d95cd4aade9ee2071ba1d3a677fc0 /tests/Cached_Conn_Test.cpp
parent316753d8d6f613f7e74efbb17d687a0ebc5fe8dc (diff)
downloadATCD-7d25b6ca474784de9c2dd8ee8eab286812c7bb9d.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.cpp16
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':