diff options
-rw-r--r-- | protocol.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1191,7 +1191,9 @@ commandError: static int enet_protocol_receive_incoming_commands (ENetHost * host, ENetEvent * event) { - for (;;) + int packets; + + for (packets = 0; packets < 256; ++ packets) { int receivedLength; ENetBuffer buffer; |