summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-30 05:16:40 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-30 05:16:40 +0000
commit4489eeba506120562068654b41ac45e3314b1b3e (patch)
treeb3b69e42b0f5d84abeca45b824afc12374ca3bb5 /netsvcs
parente3d7e3725f48f3dbcd0df7111b586f7586acd72c (diff)
downloadATCD-4489eeba506120562068654b41ac45e3314b1b3e.tar.gz
*** empty log message ***
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/lib/Client_Logging_Handler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/netsvcs/lib/Client_Logging_Handler.cpp b/netsvcs/lib/Client_Logging_Handler.cpp
index 21ffab135f7..67a962b5d75 100644
--- a/netsvcs/lib/Client_Logging_Handler.cpp
+++ b/netsvcs/lib/Client_Logging_Handler.cpp
@@ -47,14 +47,16 @@ ACE_Client_Logging_Handler::open (void *)
// Register ourselves to receive SIGPIPE so we can attempt
// reconnections.
+#if !defined (ACE_WIN32)
if (ACE_Service_Config::reactor ()->register_handler (SIGPIPE, this) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "%n: %p\n",
"register_handler (SIGPIPE)"), -1);
+#endif /* ACE_WIN32 */
// Figure out what remote port we're really bound to.
- else if (this->peer ().get_remote_addr (server_addr) == -1)
+ if (this->peer ().get_remote_addr (server_addr) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_remote_addr"), -1);
-
+
ACE_DEBUG ((LM_DEBUG,
"starting up Client Logging Daemon, "
"connected to port %d on handle %d\n",