summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-07-06 16:06:27 +0000
committerSteve Huston <shuston@riverace.com>2004-07-06 16:06:27 +0000
commit12907f3aa3018568c38e156f9a2b787b87f4eb35 (patch)
tree529aa88e94a8f5092e65f060e9334913dc62d32d /netsvcs
parentc8683c5260301df9c2889a2b0c92552bf61acc5b (diff)
downloadATCD-12907f3aa3018568c38e156f9a2b787b87f4eb35.tar.gz
ChangeLogTag:Tue Jul 6 12:03:19 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/lib/Token_Handler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/netsvcs/lib/Token_Handler.cpp b/netsvcs/lib/Token_Handler.cpp
index 621031fe414..c15771f1526 100644
--- a/netsvcs/lib/Token_Handler.cpp
+++ b/netsvcs/lib/Token_Handler.cpp
@@ -38,7 +38,7 @@ ACE_Token_Acceptor::parse_args (int argc, char *argv[])
{
ACE_TRACE ("ACE_Token_Acceptor::parse_args");
- this->service_port_ = ACE_DEFAULT_SERVER_PORT;
+ u_short svc_port = ACE_DEFAULT_SERVER_PORT;
ACE_LOG_MSG->open ("Token Service");
@@ -49,7 +49,7 @@ ACE_Token_Acceptor::parse_args (int argc, char *argv[])
switch (c)
{
case 'p':
- this->service_port_ = ACE_OS::atoi (get_opt.opt_arg ());
+ svc_port = static_cast<u_short> (ACE_OS::atoi (get_opt.opt_arg ()));
break;
default:
ACE_ERROR_RETURN ((LM_ERROR,
@@ -58,7 +58,7 @@ ACE_Token_Acceptor::parse_args (int argc, char *argv[])
}
}
- this->service_addr_.set (this->service_port_);
+ this->service_addr_.set (svc_port);
return 0;
}