From 1eb0f638b031f220cf199251066f74a83c659b0c Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 3 Oct 2020 01:14:53 +0200 Subject: now accepts parameters --- src/rcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rcon.c') diff --git a/src/rcon.c b/src/rcon.c index 2a79e64..1e876cf 100644 --- a/src/rcon.c +++ b/src/rcon.c @@ -58,7 +58,7 @@ int rcon_parse_packet ( rcon_packet_t* _packet, char* _buffer, uint32_t _len ) { return -1; int32_t bytecount = 0; - + bytecount += rcon_read_int ( _buffer + bytecount, _len - bytecount, &_packet->length ); bytecount += rcon_read_int ( _buffer + bytecount, _len - bytecount, &_packet->id ); bytecount += rcon_read_int ( _buffer + bytecount, _len - bytecount, &_packet->type ); -- cgit v1.2.3