Skip to content

Commit

Permalink
Fix clang-tidy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lordgamez committed Jul 3, 2023
1 parent 487ed9b commit 378007e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libminifi/src/c2/ControllerSocketProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ asio::awaitable<void> ControllerSocketProtocol::startAccept() {

asio::awaitable<void> ControllerSocketProtocol::startAcceptSsl(std::shared_ptr<minifi::controllers::SSLContextService> ssl_context_service) {
while (true) {
auto [accept_error, socket] = co_await acceptor_->async_accept(utils::net::use_nothrow_awaitable);
auto [accept_error, socket] = co_await acceptor_->async_accept(utils::net::use_nothrow_awaitable); // NOLINT
if (accept_error) {
logger_->log_error("Controller socket accept failed with the following message: '%s'", accept_error.message());
co_return;
Expand Down

0 comments on commit 378007e

Please sign in to comment.