* 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:
sezero 2012-04-01 18:03:25 +00:00
parent 0a32fb9214
commit cf3c6d5f5e

View file

@ -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;