about summary refs log tree commit diff
path: root/src/engine/e_network.c
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-10 12:27:15 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-10 12:27:15 +0000
commit39370635cc0e776630a08263028a2f5edcfd37d9 (patch)
tree22a41c9ed3a91278072c4128f06d3100793efba1 /src/engine/e_network.c
parentc79402d07539ac95c4d6ceb6defedf69dbf91709 (diff)
downloadzcatch-39370635cc0e776630a08263028a2f5edcfd37d9.tar.gz
zcatch-39370635cc0e776630a08263028a2f5edcfd37d9.zip
fixed a few debug messages that spammed a bit too much
Diffstat (limited to 'src/engine/e_network.c')
-rw-r--r--src/engine/e_network.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/e_network.c b/src/engine/e_network.c
index 5b6dbf27..c7aabc99 100644
--- a/src/engine/e_network.c
+++ b/src/engine/e_network.c
@@ -93,7 +93,8 @@ int recvinfo_fetch_chunk(NETRECVINFO *info, NETCHUNK *chunk)
 					continue;
 
 				/* out of sequence, request resend */
-				dbg_msg("conn", "asking for resend %d %d", header.sequence, (info->conn->ack+1)%NET_MAX_SEQUENCE);
+				if(config.debug)
+					dbg_msg("conn", "asking for resend %d %d", header.sequence, (info->conn->ack+1)%NET_MAX_SEQUENCE);
 				conn_want_resend(info->conn);
 				continue; /* take the next chunk in the packet */
 			}