From 8fdfe2014d1be3eb855afc55107df64a1cd784f8 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 8 Jan 2006 03:36:17 +0000 Subject: Fix packet send Subversion-branch: /trunk/chocolate-doom Subversion-revision: 266 --- src/net_server.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/net_server.c') 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); } -- cgit v1.2.3