summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Base.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-01-22 18:31:17 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-01-22 18:31:17 +0000
commit7b50c60040185f5bf40162fdbd71ea3d3493e779 (patch)
tree6266254668f608191d6341bc86f2f709fb5d3bf1 /TAO/tao/GIOP_Message_Base.cpp
parent037201e59ac95c648205a07297b549b24fff9816 (diff)
downloadATCD-7b50c60040185f5bf40162fdbd71ea3d3493e779.tar.gz
Thu Jan 22 18:27:24 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl
* ace/Cache_Entries.inl: Print the transport id instead of the transport pointer * ace/Connection_Handler.cpp: Const change * ace/Generic_Sequence_T.h: Layout change * ace/GIOP_Message_Base.cpp: Const change and directly set a local variable * ace/IIOP_Connector.cpp: * tao/Thread_Lane_Resources.cpp: Layout change * tao/Invocation_Adapter.cpp: Updated layout of debug message * tao/IORTable/Table_Adapter.{h,cpp}: Let find_object return a bool * tao/Adapter.h: Layout changes * tao/ORB_Core.{h,cpp,inl}: * tao/Request_Dispatcher.cpp: Let the adapter_registry return a reference instead of a pointer and updated the calling code * tao/Transport.cpp: Layout changes, use ACE_ERROR for errors, fixed a memory leak when process_parsed_messages fail. After handling extra messages set the wr_ptr to the end of the first message else we will process the first message with a cdr stream that contains all the messages * tao/Transport_Connector.cpp: Fixed layout of debug messages
Diffstat (limited to 'TAO/tao/GIOP_Message_Base.cpp')
-rw-r--r--TAO/tao/GIOP_Message_Base.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/GIOP_Message_Base.cpp b/TAO/tao/GIOP_Message_Base.cpp
index be93c3526bb..755bfcd54da 100644
--- a/TAO/tao/GIOP_Message_Base.cpp
+++ b/TAO/tao/GIOP_Message_Base.cpp
@@ -622,11 +622,10 @@ TAO_GIOP_Message_Base::process_request_message (TAO_Transport *transport,
// we pass it on to the higher layers of the ORB. So we dont to any
// copies at all here. The same is also done in the higher layers.
- ACE_Message_Block::Message_Flags flg = 0;
ACE_Data_Block *db = 0;
// Get the flag in the message block
- flg = qd->msg_block ()->self_flags ();
+ ACE_Message_Block::Message_Flags flg = qd->msg_block ()->self_flags ();
if (ACE_BIT_ENABLED (flg, ACE_Message_Block::DONT_DELETE))
{
@@ -852,7 +851,7 @@ TAO_GIOP_Message_Base::process_request (
try
{
- int parse_error = parser->parse_request_header (request);
+ int const parse_error = parser->parse_request_header (request);
// Throw an exception if the
if (parse_error != 0)