diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-18 09:07:14 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-18 09:07:14 +0000 |
commit | 685cbd31f0c2b28e550cff1226b6dea3f3150136 (patch) | |
tree | 91ba7fc4584511f31379702bdcf543da966f7f78 /TAO/tao/WrongTransactionA.cpp | |
parent | 872553f0d5680b863cd6b1948c68ca20a7269e46 (diff) | |
download | ATCD-685cbd31f0c2b28e550cff1226b6dea3f3150136.tar.gz |
ChangeLogTag: Fri Feb 18 17:04:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/WrongTransactionA.cpp')
-rw-r--r-- | TAO/tao/WrongTransactionA.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/WrongTransactionA.cpp b/TAO/tao/WrongTransactionA.cpp index 3e8018321cb..5b6befdf429 100644 --- a/TAO/tao/WrongTransactionA.cpp +++ b/TAO/tao/WrongTransactionA.cpp @@ -42,9 +42,9 @@ TAO::Any_Dual_Impl_T<CORBA::WrongTransaction>::demarshal_value ( { CORBA::String_var id; - if ((cdr >> id.out ()) == 0) + if (!(cdr >> id.out ())) { - return 0; + return false; } ACE_TRY_NEW_ENV @@ -54,11 +54,11 @@ TAO::Any_Dual_Impl_T<CORBA::WrongTransaction>::demarshal_value ( } ACE_CATCHANY { - return 0; + return false; } ACE_ENDTRY; - return 1; + return true; } // Copying insertion. |