Skip to content

Commit ef25c8b

Browse files
committed
updates for this branch
1 parent c0e5e01 commit ef25c8b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ TAO::SSLIOP::Acceptor::create_new_profile (const TAO::ObjectKey &object_key,
186186
component.component_data.length (length);
187187
CORBA::Octet *buf = component.component_data.get_buffer ();
188188
for (ACE_Message_Block const *mb = cdr.begin ();
189-
mb != nullptr;
189+
mb;
190190
mb = mb->cont ())
191191
{
192192
ACE_OS::memcpy (buf, mb->rd_ptr (), mb->length ());

TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ TAO_SSLIOP_Endpoint::is_equivalent (const TAO_Endpoint *other_endpoint)
160160
// numbers often may not make sense. Or may not being used anyway.
161161
// Therefore, we only need to directly compare the hosts. See also the
162162
// comments in the hash() method.
163-
if (this->iiop_endpoint () == nullptr || endpoint->iiop_endpoint () == nullptr)
163+
if (!this->iiop_endpoint () || !endpoint->iiop_endpoint ())
164164
return false;
165165

166166
if (ACE_OS::strcmp (this->iiop_endpoint ()->host (),

0 commit comments

Comments
 (0)