This commit is contained in:
MihailRis 2024-11-26 18:46:37 +03:00
parent 419699bc0d
commit b999c062d6

View File

@ -199,7 +199,7 @@ static inline void handle_socket_error(const std::string& message) {
); );
} }
#else #else
static inline void handle_socket_error() { static inline void handle_socket_error(const std::string& message) {
wchar_t* s = nullptr; wchar_t* s = nullptr;
FormatMessageW( FormatMessageW(
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |