mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 00:20:46 +00:00
net_wins.c (WINS_Init): Fix error return value as INVALID_SOCKET.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@225 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
fe05326ae9
commit
1da39b9337
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ sys_socket_t WINS_Init (void)
|
||||||
if (err != 0)
|
if (err != 0)
|
||||||
{
|
{
|
||||||
Con_SafePrintf ("Winsock initialization failed.\n");
|
Con_SafePrintf ("Winsock initialization failed.\n");
|
||||||
return -1;
|
return INVALID_SOCKET;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
winsock_initialized++;
|
winsock_initialized++;
|
||||||
|
|
Loading…
Reference in a new issue