Use unicode character set instead and light cleanup/bug fixes

This commit is contained in:
Amos
2022-03-04 12:22:17 +01:00
parent 4a0772bd18
commit 1058a6fa10
12 changed files with 167 additions and 140 deletions

View File

@@ -93,9 +93,9 @@ bool CSocketCreator::ConfigureListenSocket(int iSocket)
if (results == -1)
{
#ifndef NETCONSOLE
DevMsg(eDLL_T::ENGINE, "Socket accept 'ioctl(FIONBIO)' failed (%i)\n", WSAGetLastError());
DevMsg(eDLL_T::ENGINE, "Socket accept 'ioctl(FIONBIO)' failed (%s)\n", NET_ErrorString(WSAGetLastError()));
#else
printf("Socket accept 'ioctl(FIONBIO)' failed (%i)\n", WSAGetLastError());
printf("Socket accept 'ioctl(FIONBIO)' failed (%s)\n", NET_ErrorString(WSAGetLastError()));
#endif // !NETCONSOLE
return false;
}