Fixed typo

This commit is contained in:
Marcus Minhorst 2025-06-16 16:11:22 -04:00 committed by Ricardo Luís Vaz Silva
commit a881e86ff7
2 changed files with 2 additions and 2 deletions

View file

@ -278,7 +278,7 @@ static void StartNetwork(bool autoPort)
#ifndef __sun
ioctlsocket(MySocket, FIONBIO, &trueVal);
#else
fcntl(mysocket, F_SETFL, trueval | O_NONBLOCK);
fcntl(MySocket, F_SETFL, trueVal | O_NONBLOCK);
#endif
}

View file

@ -131,7 +131,7 @@ void I_DetectOS()
break;
}
utsname unameInfo;
struct utsname unameInfo;
if (uname(&unameInfo) == 0)
{