diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
commit | 40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch) | |
tree | 37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /TAO/tao/IIOP_Transport.cpp | |
parent | c254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff) | |
download | ATCD-typecode-overhaul.tar.gz |
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'TAO/tao/IIOP_Transport.cpp')
-rw-r--r-- | TAO/tao/IIOP_Transport.cpp | 26 |
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 |