mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
disable logging for outgoing packets until I come up with a clean way of
enabling it
This commit is contained in:
parent
0e1a9e5082
commit
2262d02b1a
2 changed files with 2 additions and 5 deletions
|
@ -157,8 +157,10 @@ qboolean Netchan_CanReliable (netchan_t *chan);
|
||||||
static inline void
|
static inline void
|
||||||
Netchan_SendPacket (int length, void *data, netadr_t to)
|
Netchan_SendPacket (int length, void *data, netadr_t to)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if (net_packetlog->int_val)
|
if (net_packetlog->int_val)
|
||||||
Log_Outgoing_Packet(data, length, 1);
|
Log_Outgoing_Packet(data, length, 1);
|
||||||
|
#endif
|
||||||
NET_SendPacket (length, data, to);
|
NET_SendPacket (length, data, to);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,11 +55,6 @@ static plugin_list_t server_plugin_list[] = {
|
||||||
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;
|
cbuf_t *qtv_cbuf;
|
||||||
|
|
||||||
cvar_t *qtv_console_plugin;
|
cvar_t *qtv_console_plugin;
|
||||||
|
|
Loading…
Reference in a new issue