From 2262d02b1a0f1c95efdbb7845c88bdd2e00f13d1 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 19 Feb 2004 23:11:15 +0000 Subject: [PATCH] disable logging for outgoing packets until I come up with a clean way of enabling it --- include/netchan.h | 2 ++ qtv/source/qtv.c | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/netchan.h b/include/netchan.h index 02c5bb551..56d95f3f3 100644 --- a/include/netchan.h +++ b/include/netchan.h @@ -157,8 +157,10 @@ qboolean Netchan_CanReliable (netchan_t *chan); static inline void Netchan_SendPacket (int length, void *data, netadr_t to) { +#if 0 if (net_packetlog->int_val) Log_Outgoing_Packet(data, length, 1); +#endif NET_SendPacket (length, data, to); } diff --git a/qtv/source/qtv.c b/qtv/source/qtv.c index 9d0224608..a09b63642 100644 --- a/qtv/source/qtv.c +++ b/qtv/source/qtv.c @@ -55,11 +55,6 @@ static plugin_list_t server_plugin_list[] = { SERVER_PLUGIN_LIST }; -cvar_t *net_packetlog; -void Log_Outgoing_Packet (const char *p, int len, int has_sequence); -void Log_Outgoing_Packet (const char *p, int len, int has_sequence) { } - - cbuf_t *qtv_cbuf; cvar_t *qtv_console_plugin;