mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 00:48:39 +01:00
Core: Fix non pch build
This commit is contained in:
@@ -91,7 +91,7 @@ public:
|
||||
void CloseSocket()
|
||||
{
|
||||
boost::system::error_code shutdownError;
|
||||
_socket.shutdown(socket_base::shutdown_both, shutdownError);
|
||||
_socket.shutdown(boost::asio::socket_base::shutdown_both, shutdownError);
|
||||
if (shutdownError)
|
||||
TC_LOG_DEBUG("network", "Socket::CloseSocket: %s errored when shutting down socket: %i (%s)", GetRemoteIpAddress().to_string().c_str(),
|
||||
shutdownError.value(), shutdownError.message().c_str());
|
||||
|
||||
Reference in New Issue
Block a user