diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-12-31 20:25:59 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-12-31 20:25:59 +0000 |
commit | 6d886805961ccaa7316c6fee93734d63a60f91bc (patch) | |
tree | 59616efb42747cad0654a69742c5ca2d937b4230 /TAO/tao | |
parent | e2fe3f0a70f65d9853289bb6bb476d4421914da8 (diff) | |
download | ATCD-6d886805961ccaa7316c6fee93734d63a60f91bc.tar.gz |
ChangeLogTag:Wed Dec 31 14:24:52 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/Object.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp index 2868e27e5fa..456f8ca20cd 100644 --- a/TAO/tao/Object.cpp +++ b/TAO/tao/Object.cpp @@ -565,10 +565,13 @@ CORBA::Object::_validate_connection ( inconsistent_policies = 0; + CORBA::Boolean retval = 0; + #if (TAO_HAS_MINIMUM_CORBA == 1) ACE_ENV_ARG_NOT_USED; // FUZZ: ignore check_for_ace_check + retval = false; #else // If the object is collocated then use non_existent to see whether @@ -586,7 +589,7 @@ CORBA::Object::_validate_connection ( { inconsistent_policies = tao_call.get_inconsistent_policies (); - return false; + retval = false; } ACE_CATCHANY { @@ -595,10 +598,10 @@ CORBA::Object::_validate_connection ( ACE_ENDTRY; ACE_CHECK_RETURN (false); - return true; + retval = true; #endif /* TAO_HAS_MINIMUM_CORBA */ - return 0; + return retval; } #endif /* TAO_HAS_CORBA_MESSAGING == 1 */ |