Skip to content

Commit

Permalink
bugfix: Rename shadowed variable (#362)
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Beard <[email protected]>
  • Loading branch information
chrisbeard authored Jul 17, 2024
1 parent 7f817c4 commit d7d17ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/groups/mqb/mqbnet/mqbnet_tcpsessionfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,9 @@ void TCPSessionFactory::channelStateCallback(
<< "rejecting empty peer URI: '" << channel.get()
<< "'";

mwcio::Status status(mwcio::StatusCategory::e_GENERIC_ERROR,
d_allocator_p);
channel->close(status);
mwcio::Status closeStatus(mwcio::StatusCategory::e_GENERIC_ERROR,
d_allocator_p);
channel->close(closeStatus);
}
else {
// Keep track of active channels, for logging purposes
Expand Down

0 comments on commit d7d17ee

Please sign in to comment.