This commit is contained in:
MihailRis 2024-11-26 18:55:51 +03:00
parent b999c062d6
commit 13bdfef52a

View File

@ -214,7 +214,7 @@ static inline void handle_socket_error(const std::string& message) {
assert(s != nullptr); assert(s != nullptr);
std::string errorString = util::wstr2str_utf8(std::wstring(s)); std::string errorString = util::wstr2str_utf8(std::wstring(s));
LocalFree(s); LocalFree(s);
throw std::runtime_error(message+"; "+errorString) throw std::runtime_error(message+"; "+errorString);
} }
#endif #endif