1
0
Fork 0
forked from fte/fteqw

Actually close sockets. It helps.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3076 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-12-02 21:54:10 +00:00
parent 41da9e4655
commit 1456ed1ac7

View file

@ -1367,6 +1367,14 @@ qboolean FTENET_AddToCollection(ftenet_connections_t *col, char *name, char *add
void FTENET_CloseCollection(ftenet_connections_t *col)
{
int i;
for (i = 0; i < MAX_CONNECTIONS; i++)
{
if (col->conn[i])
{
col->conn[i]->Close(col->conn[i]);
}
}
Z_Free(col);
}