Skip to content

Commit bef29ab

Browse files
Anilm3cataphract
authored andcommitted
Format fixes
1 parent 3456a41 commit bef29ab

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

appsec/src/helper/network/acceptor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ acceptor::acceptor(const std::string_view &sv)
4646

4747
res =
4848
// NOLINTNEXTLINE
49-
::bind(sock_, reinterpret_cast<struct sockaddr *>(&addr), sizeof(addr));
49+
::bind(sock_, reinterpret_cast<struct sockaddr *>(&addr),
50+
sizeof(addr));
5051
if (res == -1) {
5152
SPDLOG_ERROR(
5253
"Failed to bind socket to {}: errno {}", addr.sun_path, errno);

appsec/src/helper/worker_pool.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ void work_handler(queue_consumer &&q, std::optional<runnable> &&opt_r)
2222
// NOLINTNEXTLINE(bugprone-unchecked-optional-access)
2323
opt_r.value()(q);
2424

25-
// Clear the optional to reclaim any "resources", such as file descriptors
25+
// Clear the optional to reclaim any "resources", such as file
26+
// descriptors
2627
opt_r.reset();
2728

2829
opt_r = q.pop(consumer_timeout);

0 commit comments

Comments
 (0)