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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/GIOP_Message_Lite.cpp b/TAO/tao/GIOP_Message_Lite.cpp
index f6064bd4c0b..cc3fad61e14 100644
--- a/TAO/tao/GIOP_Message_Lite.cpp
+++ b/TAO/tao/GIOP_Message_Lite.cpp
@@ -280,7 +280,7 @@ TAO_GIOP_Message_Lite::read_message (TAO_Transport *transport,
return -1;
}
- this->message_state_.current_offset += n;
+ current_offset += n;
if (this->message_state_.current_offset ==
this->message_state_.message_size)
@@ -299,7 +299,7 @@ TAO_GIOP_Message_Lite::read_message (TAO_Transport *transport,
}
}
- return this->message_state_.is_complete ();
+ return 1;//this->message_state_.is_complete ();
}