summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-02-06 22:43:42 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-02-06 22:43:42 +0000
commit9ed1ed33101b03ce55240ae2867e416ca0a4d2b2 (patch)
treed38f55f8dc7e28d6a30eb75557bec2442107e6bc
parenta50d90a059d3b253a743fdb5b9bf6dfaadcfad83 (diff)
downloadATCD-9ed1ed33101b03ce55240ae2867e416ca0a4d2b2.tar.gz
ChangeLogTag: Thu Feb 6 17:51:06 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
-rw-r--r--TAO/tao/ChangeLog6
-rw-r--r--TAO/tao/Strategies/SHMIOP_Connector.cpp9
-rw-r--r--TAO/tao/Tagged_Components.cpp4
3 files changed, 10 insertions, 9 deletions
diff --git a/TAO/tao/ChangeLog b/TAO/tao/ChangeLog
index 5b62c362c93..6981964c321 100644
--- a/TAO/tao/ChangeLog
+++ b/TAO/tao/ChangeLog
@@ -1,3 +1,9 @@
+Thu Feb 6 17:51:06 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
+
+ * tao/Tagged_Components.cpp: Removed some vague print statements.
+ * tao/Strategies/SHMIOP_Connector.cpp: Fixed some debug
+ statements.
+
Thu Feb 6 16:37:32 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* tao/Stub.cpp (ior_info_):
diff --git a/TAO/tao/Strategies/SHMIOP_Connector.cpp b/TAO/tao/Strategies/SHMIOP_Connector.cpp
index e600a1b1636..4a4d28a04c4 100644
--- a/TAO/tao/Strategies/SHMIOP_Connector.cpp
+++ b/TAO/tao/Strategies/SHMIOP_Connector.cpp
@@ -214,19 +214,16 @@ TAO_SHMIOP_Connector::make_connection (TAO_GIOP_Invocation *invocation,
if (result == -1)
{
- char buffer [MAXNAMELEN * 2];
- desc->endpoint ()->addr_to_string (buffer,
- (MAXNAMELEN * 2) - 1);
-
// Give users a clue to the problem.
if (TAO_debug_level > 0)
{
ACE_DEBUG ((LM_ERROR,
ACE_TEXT ("(%P|%t) %s:%u, connection to ")
- ACE_TEXT ("%s failed (%p)\n"),
+ ACE_TEXT ("<%s:%p> failed (%p)\n"),
__FILE__,
__LINE__,
- buffer,
+ shmiop_endpoint->host (),
+ shmiop_endpoint->port (),
ACE_TEXT ("errno")));
}
diff --git a/TAO/tao/Tagged_Components.cpp b/TAO/tao/Tagged_Components.cpp
index 221ca6eaad7..3bd21f02158 100644
--- a/TAO/tao/Tagged_Components.cpp
+++ b/TAO/tao/Tagged_Components.cpp
@@ -128,17 +128,14 @@ TAO_Tagged_Components::set_known_component_i (
if (component.tag == IOP::TAG_ORB_TYPE)
{
- cout << "Amba 1 " << endl;
CORBA::ULong orb_type;
if ((cdr >> orb_type) == 0)
return;
-
this->orb_type_ = orb_type;
this->orb_type_set_ = 1;
}
else if (component.tag == IOP::TAG_CODE_SETS)
{
- cout << "Amba 2 " << endl;
CONV_FRAME::CodeSetComponentInfo ci;
if ((cdr >> ci) == 0)
return;
@@ -156,6 +153,7 @@ TAO_Tagged_Components::set_component_i (const IOP::TaggedComponent& component)
{
// @@ TODO Some components can show up multiple times, others
// can't find out and take appropiate action.
+
for (CORBA::ULong i = 0; i != this->components_.length (); ++i)
{
if (component.tag == this->components_[i].tag)