clang-format

This commit is contained in:
gabime
2025-10-11 15:50:16 +03:00
parent 4418909af2
commit 1bea38edcc
3 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ public:
}
SOCKET fd() const { return socket_; }
int connect_socket_with_timeout(SOCKET sockfd,
const struct sockaddr *addr,
int addrlen,

View File

@@ -31,7 +31,8 @@ namespace sinks {
struct tcp_sink_config {
std::string server_host;
int server_port;
int timeout_ms = 0; // The timeout for all 3 major socket operations that is connect, send, and recv
int timeout_ms =
0; // The timeout for all 3 major socket operations that is connect, send, and recv
bool lazy_connect = false; // if true connect on first log call instead of on construction
tcp_sink_config(std::string host, int port)

View File

@@ -50,4 +50,3 @@ TEST_CASE("ringbuffer retrieval limit", "[ringbuffer]") {
REQUIRE(formatted[0] == spdlog::fmt_lib::format("B{}", default_eol));
REQUIRE(formatted[1] == spdlog::fmt_lib::format("C{}", default_eol));
}