summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-28 07:14:18 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-28 07:14:18 +0000
commitad66c757e62495734e28c3f3bbc33a9fd29217d3 (patch)
treeb679cecc050588c642722e7dffd780ed81a442eb /examples/Service_Configurator
parentd395a38d42932c86ebef82468f58c03b3529363e (diff)
downloadATCD-ad66c757e62495734e28c3f3bbc33a9fd29217d3.tar.gz
yow
Diffstat (limited to 'examples/Service_Configurator')
-rw-r--r--examples/Service_Configurator/IPC-tests/server/server_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Service_Configurator/IPC-tests/server/server_test.cpp b/examples/Service_Configurator/IPC-tests/server/server_test.cpp
index 451f178e256..8e375021959 100644
--- a/examples/Service_Configurator/IPC-tests/server/server_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/server/server_test.cpp
@@ -13,10 +13,10 @@ main (int argc, char *argv[])
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "server_test.open"), -1);
// Create an adapter to end the event loop.
- ACE_Sig_Adapter sa (ACE_Sig_Handler_Ex (ACE_Service_Config::end_reactor_event_loop));
+ ACE_Sig_Adapter sa ((ACE_Sig_Handler_Ex) ACE_Service_Config::end_reactor_event_loop);
// Register a signal handler.
- ACE_Service_Config::reactor ()->register_handler (SIGINT, sa);
+ ACE_Service_Config::reactor ()->register_handler (SIGINT, &sa);
// Run forever, performing the configured services until we are shut
// down by a SIGINT/SIGQUIT signal.