summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Lite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/GIOP_Message_Lite.cpp')
-rw-r--r--TAO/tao/GIOP_Message_Lite.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/tao/GIOP_Message_Lite.cpp b/TAO/tao/GIOP_Message_Lite.cpp
index 55c1159bed2..4ef083ccf55 100644
--- a/TAO/tao/GIOP_Message_Lite.cpp
+++ b/TAO/tao/GIOP_Message_Lite.cpp
@@ -1290,8 +1290,8 @@ TAO_GIOP_Message_Lite::send_reply_exception (
// Close the handle.
ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("(%P|%t|%N|%l) cannot marshal exception, handle = %d: %p\n"),
- transport->handle (),
+ ACE_TEXT ("(%P|%t|%N|%l) cannot marshal exception on transport %lu: %p\n"),
+ transport->id (),
ACE_TEXT ("send_reply_exception ()")));
return -1;
}
@@ -1355,8 +1355,6 @@ TAO_GIOP_Message_Lite::send_error (TAO_Transport *transport)
(const u_char *) error_message,
TAO_GIOP_LITE_HEADER_LEN);
- ACE_HANDLE which = transport->handle ();
-
ACE_Data_Block data_block (TAO_GIOP_LITE_HEADER_LEN,
ACE_Message_Block::MB_DATA,
error_message,
@@ -1374,8 +1372,8 @@ TAO_GIOP_Message_Lite::send_error (TAO_Transport *transport)
{
ACE_DEBUG ((
LM_DEBUG,
- ACE_TEXT ("TAO (%N|%l|%P|%t) error sending error to %d\n"),
- which
+ ACE_TEXT ("TAO (%N|%l|%P|%t) error sending error to transport %lu, errno = %d\n"),
+ transport->id (), errno
));
}
}