summaryrefslogtreecommitdiff
path: root/TAO/tao/Service_Context.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-03-07 13:48:34 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-03-07 13:48:34 +0000
commita86c4e2bdc85d7fd871d1dd10069096bb29a4546 (patch)
tree8dfd22aef31a5c0d590169db59f9550442d00b65 /TAO/tao/Service_Context.cpp
parent5953ae0f70195c55d830a47b43ebebc0781aff02 (diff)
downloadATCD-a86c4e2bdc85d7fd871d1dd10069096bb29a4546.tar.gz
Fri Mar 7 13:47:30 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Service_Context.cpp')
-rw-r--r--TAO/tao/Service_Context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/Service_Context.cpp b/TAO/tao/Service_Context.cpp
index a3b21b71162..6e9088a6f3b 100644
--- a/TAO/tao/Service_Context.cpp
+++ b/TAO/tao/Service_Context.cpp
@@ -212,7 +212,7 @@ TAO_Service_Context::encode (TAO_OutputCDR& cdr) const
int
TAO_Service_Context::decode (TAO_InputCDR& cdr)
{
- if ((cdr >> this->service_context_) == 0)
+ if (!(cdr >> this->service_context_))
{
return 0;
}