summaryrefslogtreecommitdiff
path: root/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp')
-rw-r--r--examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp b/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp
index f4730a7a6d0..8b5ab6388e2 100644
--- a/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp
+++ b/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp
@@ -157,7 +157,8 @@ Process_Per_Connection_Logging_Server::run_worker (int, char *argv[])
int main (int argc, char *argv[])
{
// Register to receive the <SIGTERM> signal.
- ACE_Sig_Action sa (sigterm_handler, SIGTERM);
+ ACE_Sig_Action sa ((ACE_SignalHandler)sigterm_handler,
+ SIGTERM);
Process_Per_Connection_Logging_Server server;