summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuangming <huangminghuang@users.noreply.github.com>2003-11-11 02:16:07 +0000
committerhuangming <huangminghuang@users.noreply.github.com>2003-11-11 02:16:07 +0000
commita1a00165ecf6d33ac324158ae774c85eaa71f33b (patch)
treebb54803a8ca34da831936fcfc29cbb6efa240f6d
parentbf92b2913a27288caf5e04f5248b2cacdb0e6e38 (diff)
downloadATCD-a1a00165ecf6d33ac324158ae774c85eaa71f33b.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp
index a8ccaedae45..90dfbfc14f5 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp
@@ -541,11 +541,12 @@ void TAO_FTEC_Event_Channel_Impl::set_update (const FTRT::State & s
if (!Request_Context_Repository().is_executed_request()) {
TAO_InputCDR cdr((const char*)s.get_buffer(), s.length());
- ACE_DEBUG((LM_DEBUG, " state length = %d\n", s.length()));
- ACE_HEX_DUMP((LM_DEBUG, (const char*)s.get_buffer(), s.length(), " receiving state "));
FtRtecEventChannelAdmin::Operation_var op(new FtRtecEventChannelAdmin::Operation);
+
if (!(cdr >> *op)) {
+ ACE_DEBUG((LM_DEBUG, "**** received message length = %d\n", s.length() ));
+ ACE_HEX_DUMP((LM_DEBUG, (const char*)s.get_buffer(), s.length(), " receiving state "));
TAO_FTRTEC::Log(3, "Throwing FTRT::InvalidUpdate\n");
ACE_THROW(FTRT::InvalidUpdate() );
}