summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/LocalityManager/Interceptors/Best_Effort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/DAnCE/LocalityManager/Interceptors/Best_Effort.cpp')
-rw-r--r--CIAO/DAnCE/LocalityManager/Interceptors/Best_Effort.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/CIAO/DAnCE/LocalityManager/Interceptors/Best_Effort.cpp b/CIAO/DAnCE/LocalityManager/Interceptors/Best_Effort.cpp
index a866730fff8..42eda96226e 100644
--- a/CIAO/DAnCE/LocalityManager/Interceptors/Best_Effort.cpp
+++ b/CIAO/DAnCE/LocalityManager/Interceptors/Best_Effort.cpp
@@ -30,7 +30,7 @@ namespace DAnCE
const ::CORBA::Any &,
const ::CORBA::Any &exception)
{
- if (&exception)
+ if (exception.type() != ::CORBA::_tc_null)
{
std::string result;
DAnCE::Utility::stringify_exception_from_any (exception,
@@ -49,7 +49,7 @@ namespace DAnCE
::CORBA::ULong connection,
const ::CORBA::Any &exception)
{
- if (&exception)
+ if (exception.type() != ::CORBA::_tc_null)
{
std::string result;
DAnCE::Utility::stringify_exception_from_any (exception,
@@ -68,7 +68,7 @@ namespace DAnCE
::CORBA::ULong instance_index,
const ::CORBA::Any &exception )
{
- if (&exception)
+ if (exception.type() != ::CORBA::_tc_null)
{
std::string result;
DAnCE::Utility::stringify_exception_from_any (exception,
@@ -88,7 +88,7 @@ namespace DAnCE
::CORBA::ULong instance_index,
const ::CORBA::Any & exception)
{
- if (&exception)
+ if (exception.type() != ::CORBA::_tc_null)
{
std::string result;
DAnCE::Utility::stringify_exception_from_any (exception,
@@ -108,7 +108,7 @@ namespace DAnCE
::CORBA::ULong instance_index,
const ::CORBA::Any & exception)
{
- if (&exception)
+ if (exception.type() != ::CORBA::_tc_null)
{
std::string result;
DAnCE::Utility::stringify_exception_from_any (exception,
@@ -128,7 +128,7 @@ namespace DAnCE
::CORBA::ULong instance_index,
const ::CORBA::Any & exception)
{
- if (&exception)
+ if (exception.type() != ::CORBA::_tc_null)
{
std::string result;
DAnCE::Utility::stringify_exception_from_any (exception,