diff options
Diffstat (limited to 'TAO/tao/GIOP_Message_Generator_Parser_10.cpp')
-rw-r--r-- | TAO/tao/GIOP_Message_Generator_Parser_10.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp index ceba1d9655c..b9b988a8500 100644 --- a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp +++ b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp @@ -154,7 +154,7 @@ TAO_GIOP_Message_Generator_Parser_10::write_reply_header ( if (!(output << reply.service_context_notowned ())) return false; #else - if (reply.is_dsi_ == false) + if (!reply.is_dsi_) { if (!(output << reply.service_context_notowned ())) return false; @@ -287,10 +287,9 @@ TAO_GIOP_Message_Generator_Parser_10::write_locate_reply_mesg ( if (status_info.status == GIOP::OBJECT_FORWARD) { - CORBA::Object_ptr object_ptr = - status_info.forward_location_var.in (); + CORBA::Object_ptr object_ptr = status_info.forward_location_var.in (); - if ((output << object_ptr) == false) + if (!(output << object_ptr)) { if (TAO_debug_level > 0) { @@ -400,7 +399,6 @@ TAO_GIOP_Message_Generator_Parser_10::parse_request_header ( hdr_status = (CORBA::Boolean) input.good_bit (); } - return hdr_status ? 0 : -1; } |