summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2006-01-08 03:36:17 +0000
committerSimon Howard2006-01-08 03:36:17 +0000
commit8fdfe2014d1be3eb855afc55107df64a1cd784f8 (patch)
treeccfac6804fdf77b250915f8e6d055c0dc324ce18 /src
parent2885640d358b7140a2a714634a4163817035fbbd (diff)
downloadchocolate-doom-8fdfe2014d1be3eb855afc55107df64a1cd784f8.tar.gz
chocolate-doom-8fdfe2014d1be3eb855afc55107df64a1cd784f8.tar.bz2
chocolate-doom-8fdfe2014d1be3eb855afc55107df64a1cd784f8.zip
Fix packet send
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 266
Diffstat (limited to 'src')
-rw-r--r--src/net_server.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/net_server.c b/src/net_server.c
index c05a3847..90e3e87a 100644
--- a/src/net_server.c
+++ b/src/net_server.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: net_server.c 264 2006-01-08 02:53:05Z fraggle $
+// $Id: net_server.c 266 2006-01-08 03:36:17Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.14 2006/01/08 03:36:17 fraggle
+// Fix packet send
+//
// Revision 1.13 2006/01/08 02:53:05 fraggle
// Send keepalives if the connection is not doing anything else.
// Send all packets using a new NET_Conn_SendPacket to support this.
@@ -357,7 +360,7 @@ static void NET_SV_SendWaitingData(net_client_t *client)
// send packet to client and free
- NET_Conn_SendPacket(client, packet);
+ NET_Conn_SendPacket(&client->connection, packet);
NET_FreePacket(packet);
}