summaryrefslogtreecommitdiff
path: root/TAO/utils
diff options
context:
space:
mode:
authorErik Sohns <esohns@users.noreply.github.com>2023-04-06 11:09:11 +0200
committerGitHub <noreply@github.com>2023-04-06 11:09:11 +0200
commita3a7c2a50383ebf00534c28014704ce57e092821 (patch)
tree0de4a576c9929ac6d821462e1693882654f2a456 /TAO/utils
parent5625244fd7bb77bafabce28fdec790f51ef50080 (diff)
parentb50aba0fdce1069b9aa9b1baac9adee396663779 (diff)
downloadATCD-a3a7c2a50383ebf00534c28014704ce57e092821.tar.gz
Merge branch 'master' into message_queue_ex_get_queue
Diffstat (limited to 'TAO/utils')
-rw-r--r--TAO/utils/catior/Catior_i.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/utils/catior/Catior_i.cpp b/TAO/utils/catior/Catior_i.cpp
index c0489e7329d..b41f6c75319 100644
--- a/TAO/utils/catior/Catior_i.cpp
+++ b/TAO/utils/catior/Catior_i.cpp
@@ -1036,7 +1036,7 @@ Catior_i::_find_info (CORBA::ULong id)
void
Catior_i::displayHex (TAO_InputCDR & str)
{
- if (str.good_bit () == 0)
+ if (!str.good_bit ())
return;
TAO_InputCDR clone_str (str);
@@ -1258,7 +1258,7 @@ Catior_i::cat_profile_helper (TAO_InputCDR& stream,
// buffer, and skip the encapsulation.
TAO_InputCDR str (stream, encap_len);
- if (str.good_bit () == 0 || stream.skip_bytes (encap_len) == 0)
+ if (!str.good_bit () || stream.skip_bytes (encap_len) == 0)
return false;
static const size_t bufsize = 512;
@@ -1346,7 +1346,7 @@ Catior_i::cat_coiop_profile (TAO_InputCDR& stream)
// buffer, and skip the encapsulation.
TAO_InputCDR str (stream, encap_len);
- if (str.good_bit () == 0 || stream.skip_bytes (encap_len) == 0)
+ if (!str.good_bit () || stream.skip_bytes (encap_len) == 0)
return false;
static const size_t bufsize = 512;
@@ -1436,7 +1436,7 @@ Catior_i::cat_uiop_profile (TAO_InputCDR& stream)
// buffer, and skip the encapsulation.
TAO_InputCDR str (stream, encap_len);
- if (str.good_bit () == 0 || stream.skip_bytes (encap_len) == 0)
+ if (!str.good_bit () || stream.skip_bytes (encap_len) == 0)
return false;
static const size_t bufsize = 512;
@@ -1517,7 +1517,7 @@ Catior_i::cat_sciop_profile (TAO_InputCDR& stream)
// buffer, and skip the encapsulation.
TAO_InputCDR str (stream, encap_len);
- if (str.good_bit () == 0 || stream.skip_bytes (encap_len) == 0)
+ if (!str.good_bit () || stream.skip_bytes (encap_len) == 0)
return false;
static const size_t bufsize = 512;
@@ -1623,7 +1623,7 @@ Catior_i::cat_nsk_profile_helper (TAO_InputCDR& stream,
// buffer, and skip the encapsulation.
TAO_InputCDR str (stream, encap_len);
- if (str.good_bit () == 0 || stream.skip_bytes (encap_len) == 0)
+ if (!str.good_bit () || stream.skip_bytes (encap_len) == 0)
return false;
static const size_t bufsize = 512;