summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-06-21 21:18:43 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-06-21 21:18:43 +0000
commit4a64648a3f05d15cfffb693e24c76997d6a58423 (patch)
treed63d31d06a4549605f6a85d9719e1f84b2bd2e29 /examples/Service_Configurator
parentf9438cf147b2b788b151f522cefe526d1a8e67c4 (diff)
downloadATCD-4a64648a3f05d15cfffb693e24c76997d6a58423.tar.gz
*** empty log message ***
Diffstat (limited to 'examples/Service_Configurator')
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp1
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i7
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp
index 06d8c724040..79fd3c65331 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp
@@ -1,7 +1,6 @@
#include "Handle_L_FIFO.h"
// $Id$
-
#if defined (SunOS4)
extern "C"
{
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i b/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i
index 8b667cb6681..860cc2009ed 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i
@@ -54,8 +54,8 @@ Handle_L_FIFO::init (int argc, char *argv[])
ACE_OS::unlink (rendezvous_fifo);
if (this->open (rendezvous_fifo) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "open"), -1);
- else if (ACE_Service_Config::reactor ()->register_handler (this,
- ACE_Event_Handler::ACCEPT_MASK) == -1)
+ else if (ACE_Service_Config::reactor ()->register_handler
+ (this, ACE_Event_Handler::READ_MASK) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "registering service with ACE_Reactor\n"), -1);
return 0;
}
@@ -63,7 +63,8 @@ Handle_L_FIFO::init (int argc, char *argv[])
ACE_INLINE int
Handle_L_FIFO::fini (void)
{
- return ACE_Service_Config::reactor ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK);
+ return ACE_Service_Config::reactor ()->remove_handler
+ (this, ACE_Event_Handler::ACCEPT_MASK);
}
ACE_INLINE int