summaryrefslogtreecommitdiff
path: root/ACE/netsvcs
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-02-17 13:13:25 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-02-17 13:13:25 +0000
commitb9a72cd22d91940773b7e916b7f17d206710ec3f (patch)
treecf73884ea0df6129e918c2bba08fea0e4b1aa8b2 /ACE/netsvcs
parent2aab21fe0622cafd5c1a3822a91bc6c475405190 (diff)
downloadATCD-b9a72cd22d91940773b7e916b7f17d206710ec3f.tar.gz
Tue Feb 17 13:13:28 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* netsvcs/lib/Client_Logging_Handler.cpp: Runtime fix
Diffstat (limited to 'ACE/netsvcs')
-rw-r--r--ACE/netsvcs/lib/Client_Logging_Handler.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ACE/netsvcs/lib/Client_Logging_Handler.cpp b/ACE/netsvcs/lib/Client_Logging_Handler.cpp
index 4de3e56c3d4..601434b110f 100644
--- a/ACE/netsvcs/lib/Client_Logging_Handler.cpp
+++ b/ACE/netsvcs/lib/Client_Logging_Handler.cpp
@@ -568,6 +568,13 @@ ACE_Client_Logging_Acceptor::init (int argc, ACE_TCHAR *argv[])
ACE_TEXT ("%p\n"),
this->logger_key_),
-1);
+#else
+ // Initialize the acceptor endpoint.
+ if (this->open (LOGGING_ADDR ()) == -1)
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("%p\n"),
+ ACE_TEXT ("open")),
+ -1);
#endif
// Establish connection with the server.