Fix compilation

This commit is contained in:
Wojtek Figat
2021-03-16 22:32:02 +01:00
parent 1567f8723d
commit b9ca496aff
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
#include <arpa/inet.h>
#include <unistd.h>
#include <netdb.h>
#include <cerrno>
struct UnixSocketData
{

View File

@@ -270,7 +270,7 @@ bool Win32Network::Accept(NetworkSocket& serverSocket, NetworkSocket& newSocket,
{
if (serverSocket.Protocol != NetworkProtocol::Tcp)
{
LOG(Warning, "Can't accept connection on UDP socket! Socket : {0}", *(SOCKET*)serverSock.Data);
LOG(Warning, "Can't accept connection on UDP socket! Socket : {0}", *(SOCKET*)serverSocket.Data);
return true;
}
SOCKET sock;