summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOPC.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-03-07 08:15:47 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-03-07 08:15:47 +0000
commitf27dfb1bde49cdef8409cf2994101400d705d184 (patch)
treec353b991bb5cedd2a0b2eee89ef020428c9220b1 /TAO/tao/IIOPC.cpp
parent15b2a64476b20606c42723e949bcd85dac78e06e (diff)
downloadATCD-f27dfb1bde49cdef8409cf2994101400d705d184.tar.gz
ChangeLogTag:Tue Mar 06 23:43:07 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/IIOPC.cpp')
-rw-r--r--TAO/tao/IIOPC.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/TAO/tao/IIOPC.cpp b/TAO/tao/IIOPC.cpp
index e4884ba1fda..08c979ca664 100644
--- a/TAO/tao/IIOPC.cpp
+++ b/TAO/tao/IIOPC.cpp
@@ -255,11 +255,15 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const IIOP::ListenPoint
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
- if (!type->equivalent (IIOP::_tc_ListenPoint, ACE_TRY_ENV)) // not equal
+ CORBA::Boolean result =
+ type->equivalent (IIOP::_tc_ListenPoint, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
{
return 0;
}
- ACE_TRY_CHECK;
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(