summaryrefslogtreecommitdiff
path: root/netsvcs/lib/TS_Server_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs/lib/TS_Server_Handler.cpp')
-rw-r--r--netsvcs/lib/TS_Server_Handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netsvcs/lib/TS_Server_Handler.cpp b/netsvcs/lib/TS_Server_Handler.cpp
index 130afe253bd..9a9fd7e223a 100644
--- a/netsvcs/lib/TS_Server_Handler.cpp
+++ b/netsvcs/lib/TS_Server_Handler.cpp
@@ -51,7 +51,7 @@ ACE_TS_Server_Acceptor::parse_args (int argc, char *argv[])
switch (c)
{
case 'p':
- this->service_port_ = ACE_OS::atoi (get_opt.optarg);
+ this->service_port_ = ACE_OS::atoi (get_opt.opt_arg ());
break;
default:
ACE_ERROR_RETURN ((LM_ERROR,