summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-05-30 08:25:26 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-05-30 08:25:26 +0000
commit038b0310294cb7bc279a64f5ef029b2edf63264c (patch)
treeeef33512fb75317a46f5cc00a500f06e958581b6
parent476ce852f6dd220a40e5177bc838673ce5ae653b (diff)
downloadATCD-038b0310294cb7bc279a64f5ef029b2edf63264c.tar.gz
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_EH.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_EH.cpp b/TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_EH.cpp
index 148695aad77..5933ad66272 100644
--- a/TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_EH.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/ECG_Mcast_EH.cpp
@@ -248,19 +248,19 @@ TAO_ECG_Mcast_EH::add_new_subscriptions (Address_Set& multicast_addresses)
if (socket->open (new_subscription.mcast_addr, this->net_if_, 1) == -1) {
ACE_ERROR ((LM_ERROR,
"Error: %d - Unable to open multicast socket\n",
- errno ));
+ ACE_ERRNO_GET));
}
if ( socket->enable (ACE_NONBLOCK) != 0 ) {
ACE_ERROR ((LM_ERROR,
"Error: %d - Unable to enable nonblocking on mcast_eh\n",
- errno ));
+ ACE_ERRNO_GET));
}
if (socket->join (new_subscription.mcast_addr, 1, this->net_if_) == -1) {
ACE_ERROR ((LM_ERROR,
"Error: %d - Unable to join multicast group\n",
- errno ));
+ ACE_ERRNO_GET));
}
if (this->recvbuf_size_ != 0
@@ -272,7 +272,7 @@ TAO_ECG_Mcast_EH::add_new_subscriptions (Address_Set& multicast_addresses)
{
ACE_ERROR ((LM_ERROR,
"Error: %d - Unable to set mcast_eh recvbuf_size:%d\n",
- errno,
+ ACE_ERRNO_GET,
this->recvbuf_size_));
}
(void) this->reactor ()->register_handler (