diff --git a/protocol.c b/protocol.c index 98ee51e..a1d7ee1 100644 --- a/protocol.c +++ b/protocol.c @@ -1288,7 +1288,7 @@ enet_protocol_receive_incoming_commands (ENetHost * host, ENetEvent * event) } } - return -1; + return 0; } static void