mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-14 17:10:53 +00:00
* net_dgrm.c: Fixed the types of testSocket and test2Socket from int
to sys_socket_t. * updated version date stamp to 2012-04-01. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@656 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
0a32fb9214
commit
cf3c6d5f5e
1 changed files with 4 additions and 4 deletions
|
@ -521,7 +521,7 @@ static const char *Strip_Port (const char *host)
|
|||
static qboolean testInProgress = false;
|
||||
static int testPollCount;
|
||||
static int testDriver;
|
||||
static int testSocket;
|
||||
static sys_socket_t testSocket;
|
||||
|
||||
static void Test_Poll (void *);
|
||||
static PollProcedure testPollProcedure = {NULL, 0.0, Test_Poll};
|
||||
|
@ -630,7 +630,7 @@ static void Test_f (void)
|
|||
|
||||
JustDoIt:
|
||||
testSocket = dfunc.Open_Socket(0);
|
||||
if (testSocket == -1)
|
||||
if (testSocket == INVALID_SOCKET)
|
||||
return;
|
||||
|
||||
testInProgress = true;
|
||||
|
@ -654,7 +654,7 @@ JustDoIt:
|
|||
|
||||
static qboolean test2InProgress = false;
|
||||
static int test2Driver;
|
||||
static int test2Socket;
|
||||
static sys_socket_t test2Socket;
|
||||
|
||||
static void Test2_Poll (void *);
|
||||
static PollProcedure test2PollProcedure = {NULL, 0.0, Test2_Poll};
|
||||
|
@ -764,7 +764,7 @@ static void Test2_f (void)
|
|||
|
||||
JustDoIt:
|
||||
test2Socket = dfunc.Open_Socket(0);
|
||||
if (test2Socket == -1)
|
||||
if (test2Socket == INVALID_SOCKET)
|
||||
return;
|
||||
|
||||
test2InProgress = true;
|
||||
|
|
Loading…
Reference in a new issue