summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Transport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IIOP_Transport.cpp')
-rw-r--r--TAO/tao/IIOP_Transport.cpp26
1 files changed, 8 insertions, 18 deletions
diff --git a/TAO/tao/IIOP_Transport.cpp b/TAO/tao/IIOP_Transport.cpp
index cc77eb99222..3151824b184 100644
--- a/TAO/tao/IIOP_Transport.cpp
+++ b/TAO/tao/IIOP_Transport.cpp
@@ -320,25 +320,14 @@ TAO_IIOP_Transport::set_bidir_context_info (TAO_Operation_Details &opdetails)
{
if (TAO_debug_level > 0)
ACE_ERROR ((LM_ERROR,
- "TAO (%P|%t) - IIOP_Transport::set_bidir_context_info, "
- "error getting listen_point\n"));
+ "TAO (%P|%t) - IIOP_Transport::set_bidir_info, "
+ "error getting listen_point \n"));
return;
}
}
}
- if (listen_point_list.length () == 0)
- {
- if (TAO_debug_level > 0)
- ACE_ERROR ((LM_ERROR,
- "TAO (%P|%t) - IIOP_Transport::set_bidir_context_info, "
- "listen_point list is empty, client should send a list "
- "with at least one point\n"));
-
- return;
- }
-
// We have the ListenPointList at this point. Create a output CDR
// stream at this point
TAO_OutputCDR cdr;
@@ -381,8 +370,9 @@ TAO_IIOP_Transport::get_listen_point (
== -1)
{
ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("TAO (%P|%t) - IIOP_Transport::get_listen_point, ")
- ACE_TEXT ("could not resolve local host address\n")),
+ ACE_TEXT ("(%P|%t) Could not resolve local ")
+ ACE_TEXT ("host address in ")
+ ACE_TEXT ("get_listen_point()\n")),
-1);
}
@@ -397,8 +387,8 @@ TAO_IIOP_Transport::get_listen_point (
local_interface.out ()) == -1)
{
ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("TAO (%P|%t) - IIOP_Transport::get_listen_point, ")
- ACE_TEXT ("could not resolve local host name\n")),
+ ACE_TEXT ("(%P|%t) Could not resolve local host ")
+ ACE_TEXT ("name \n")),
-1);
}
@@ -406,7 +396,7 @@ TAO_IIOP_Transport::get_listen_point (
index < count;
++index)
{
- if (local_addr.get_ip_address ()
+ if (local_addr.get_ip_address()
== endpoint_addr[index].get_ip_address ())
{
// Get the count of the number of elements