Skip to content

Commit

Permalink
[fixup] make clang on FreeBSD happy, too
Browse files Browse the repository at this point in the history
  • Loading branch information
arogge committed Mar 7, 2024
1 parent f98b566 commit 248003e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/lib/connection_pool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
#include <chrono>
#include <thread>

void connection::socket_closer::operator()(BareosSocket* socket)
void connection::socket_closer::operator()(BareosSocket* t_socket)
{
if (socket) {
socket->close();
delete socket;
if (t_socket) {
t_socket->close();
delete t_socket;
}
}

Expand Down

0 comments on commit 248003e

Please sign in to comment.