diff --git a/include/spdlog/details/tcp_client-windows.h b/include/spdlog/details/tcp_client-windows.h index 76e73a36..956f9f9b 100644 --- a/include/spdlog/details/tcp_client-windows.h +++ b/include/spdlog/details/tcp_client-windows.h @@ -57,7 +57,7 @@ public: } SOCKET fd() const { return socket_; } - + int connect_socket_with_timeout(SOCKET sockfd, const struct sockaddr *addr, int addrlen, diff --git a/include/spdlog/sinks/tcp_sink.h b/include/spdlog/sinks/tcp_sink.h index 9ed64133..5d9ef825 100644 --- a/include/spdlog/sinks/tcp_sink.h +++ b/include/spdlog/sinks/tcp_sink.h @@ -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) diff --git a/tests/test_ringbuffer.cpp b/tests/test_ringbuffer.cpp index da473df5..81d79165 100644 --- a/tests/test_ringbuffer.cpp +++ b/tests/test_ringbuffer.cpp @@ -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)); } -