summaryrefslogtreecommitdiff
path: root/netsvcs/lib/Server_Logging_Handler_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs/lib/Server_Logging_Handler_T.cpp')
-rw-r--r--netsvcs/lib/Server_Logging_Handler_T.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netsvcs/lib/Server_Logging_Handler_T.cpp b/netsvcs/lib/Server_Logging_Handler_T.cpp
index 994a9426dc2..a4465722891 100644
--- a/netsvcs/lib/Server_Logging_Handler_T.cpp
+++ b/netsvcs/lib/Server_Logging_Handler_T.cpp
@@ -256,7 +256,7 @@ ACE_Server_Logging_Acceptor_T<SLH, LMR, SST>::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,