Skip to content

Commit

Permalink
bugfix: Rename shadowed variable (bloomberg#362)
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Beard <cbeard9@bloomberg.net>
  • Loading branch information
chrisbeard authored and alexander-e1off committed Oct 24, 2024
1 parent 86f2c43 commit 68892e0
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 68892e0

Please sign in to comment.