summaryrefslogtreecommitdiff
path: root/netsvcs/clients/Tokens/manual/manual.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs/clients/Tokens/manual/manual.cpp')
-rw-r--r--netsvcs/clients/Tokens/manual/manual.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/netsvcs/clients/Tokens/manual/manual.cpp b/netsvcs/clients/Tokens/manual/manual.cpp
index 1393150f751..9574fc7edb6 100644
--- a/netsvcs/clients/Tokens/manual/manual.cpp
+++ b/netsvcs/clients/Tokens/manual/manual.cpp
@@ -111,11 +111,11 @@ STDIN_Token::parse_args (int argc, char *argv[])
switch (c)
{
case 'h': // specify the host machine on which the server is running
- server_host_ = get_opt.optarg;
+ server_host_ = get_opt.opt_arg ();
remote_ = 1;
break;
case 'p': // specify the port on which the server is running
- server_port_ = ACE_OS::atoi (get_opt.optarg);
+ server_port_ = ACE_OS::atoi (get_opt.opt_arg ());
remote_ = 1;
break;
case 'd':