summaryrefslogtreecommitdiff
path: root/TAO/tao/Strategies/DIOP_Profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Strategies/DIOP_Profile.cpp')
-rw-r--r--TAO/tao/Strategies/DIOP_Profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/Strategies/DIOP_Profile.cpp b/TAO/tao/Strategies/DIOP_Profile.cpp
index cfe07e382d7..9ce819cebb8 100644
--- a/TAO/tao/Strategies/DIOP_Profile.cpp
+++ b/TAO/tao/Strategies/DIOP_Profile.cpp
@@ -441,7 +441,7 @@ TAO_DIOP_Profile::decode_endpoints (void)
// Extract endpoints sequence.
TAO::IIOPEndpointSequence endpoints;
- if ((in_cdr >> endpoints) == 0)
+ if (! (in_cdr >> endpoints))
return -1;
// Get the priority of the first endpoint (head of the list.