summaryrefslogtreecommitdiff
path: root/modules/enet/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/enet/protocol.c')
-rw-r--r--modules/enet/protocol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/enet/protocol.c b/modules/enet/protocol.c
index 29d648732d..4a2a4ed185 100644
--- a/modules/enet/protocol.c
+++ b/modules/enet/protocol.c
@@ -9,6 +9,7 @@
#include "enet/time.h"
#include "enet/enet.h"
+
static size_t commandSizes [ENET_PROTOCOL_COMMAND_COUNT] =
{
0,
@@ -1691,7 +1692,7 @@ enet_protocol_send_outgoing_commands (ENetHost * host, ENetEvent * event, int ch
& host -> buffers [1], host -> bufferCount - 1,
originalSize,
host -> packetData [1],
- originalSize);
+ originalSize);
if (compressedSize > 0 && compressedSize < originalSize)
{
host -> headerFlags |= ENET_PROTOCOL_HEADER_FLAG_COMPRESSED;