1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fix Linux build

This commit is contained in:
disarray2077 2025-05-11 12:06:13 -03:00 committed by GitHub
parent ad3d90e521
commit 2056764706
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -495,7 +495,7 @@ namespace System.Net
if (bind(mHandle, &service, size) == SOCKET_ERROR) if (bind(mHandle, &service, size) == SOCKET_ERROR)
{ {
#unwarn #unwarn
int err = WSAGetLastError(); int err = GetLastError();
Close(); Close();
return .Err; return .Err;
} }