aboutsummaryrefslogtreecommitdiff
path: root/src/rcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcon.c')
-rw-r--r--src/rcon.c2
1 files changed, 1 insertions, 1 deletions
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 );