summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-05-12 11:54:12 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-05-12 11:54:12 +0000
commita46242543a543773eb957fc6cfb989270905aea0 (patch)
treea7f96e357b873a4cd94a1e2b164bf581cd94e3a0 /TAO/tao
parent7fce78251a8f60a15bc7a5ed382f85f9c77ccfa4 (diff)
downloadATCD-a46242543a543773eb957fc6cfb989270905aea0.tar.gz
ChangeLogTag: Wed May 12 11:54:32 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/Transport.cpp30
1 files changed, 17 insertions, 13 deletions
diff --git a/TAO/tao/Transport.cpp b/TAO/tao/Transport.cpp
index 71e20a2d0b2..09903c40691 100644
--- a/TAO/tao/Transport.cpp
+++ b/TAO/tao/Transport.cpp
@@ -1157,10 +1157,12 @@ TAO_Transport::handle_input (TAO_Resume_Handle &rh,
if (retval == -1)
{
if (TAO_debug_level > 2)
- ACE_DEBUG ((LM_DEBUG,
- "TAO (%P|%t) - Transport[%d]::handle_input, "
- "error while parsing the head of the queue\n",
- this->id()));
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ "TAO (%P|%t) - Transport[%d]::handle_input, "
+ "error while parsing the head of the queue\n",
+ this->id()));
+ }
}
return retval;
@@ -1333,10 +1335,12 @@ TAO_Transport::parse_incoming_messages (ACE_Message_Block &block)
if (retval == -1)
{
if (TAO_debug_level > 2)
- ACE_DEBUG ((LM_DEBUG,
- "TAO (%P|%t) - Transport[%d]::parse_incoming_messages, "
- "error in incoming message\n",
- this->id ()));
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ "TAO (%P|%t) - Transport[%d]::parse_incoming_messages, "
+ "error in incoming message\n",
+ this->id ()));
+ }
return -1;
}
@@ -1836,12 +1840,12 @@ TAO_Transport::process_parsed_messages (TAO_Queued_Data *qd,
{
if (TAO_debug_level)
{
- ACE_ERROR_RETURN ((LM_ERROR,
- "TAO (%P|%t) - Transport[%d]::process_parsed_messages, "
- "received MessageError, closing connection\n",
- this->id ()),
- -1);
+ ACE_ERROR ((LM_ERROR,
+ "TAO (%P|%t) - Transport[%d]::process_parsed_messages, "
+ "received MessageError, closing connection\n",
+ this->id ()));
}
+ return -1;
}
// If not, just return back..