fix
This commit is contained in:
parent
b999c062d6
commit
13bdfef52a
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user