From f50d0cf3175a6b04805449ae691af15a38a2b696 Mon Sep 17 00:00:00 2001 From: schmidt Date: Thu, 30 Jul 1998 05:02:58 +0000 Subject: *** empty log message *** --- examples/Reactor/Ntalker/ntalker.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/Reactor/Ntalker/ntalker.cpp b/examples/Reactor/Ntalker/ntalker.cpp index a58eedf2d4e..05be803c3c7 100644 --- a/examples/Reactor/Ntalker/ntalker.cpp +++ b/examples/Reactor/Ntalker/ntalker.cpp @@ -183,10 +183,11 @@ main (int argc, char *argv[]) // Register the STDIN handler. if (ACE::register_stdin_handler (&handler, ACE_Reactor::instance (), - ACE_Thread_Manager::instance () == -1) + ACE_Thread_Manager::instance ()) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", - "register_stdin_handler")); + "register_stdin_handler"), + -1); // Run the event loop. ACE_Reactor::run_event_loop (); @@ -196,10 +197,11 @@ main (int argc, char *argv[]) // Cleanup the STDIN handler. if (ACE::remove_stdin_handler (ACE_Reactor::instance (), - ACE_Thread_Manager::instance () == -1) + ACE_Thread_Manager::instance ()) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", - "remove_stdin_handler")); + "remove_stdin_handler"), + -1); return 0; } #else -- cgit v1.2.1