summaryrefslogtreecommitdiff
path: root/src/liana/handlers/codec_client.c
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-08-26 15:08:16 -0400
committerAndrew Opalach <andrew@akon.city> 2026-08-26 15:08:16 -0400
commit6094c907b26e21f13373bae6bf3306dbae40af3c (patch)
tree981864ddb1ab9749d3e10a81edc782311826e101 /src/liana/handlers/codec_client.c
parentda9bddc70ff8544f3294b880d719c4605e87ad97 (diff)
downloadcamu-6094c907b26e21f13373bae6bf3306dbae40af3c.tar.gz
camu-6094c907b26e21f13373bae6bf3306dbae40af3c.tar.bz2
camu-6094c907b26e21f13373bae6bf3306dbae40af3c.zip
Update deps, small changes and cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/liana/handlers/codec_client.c')
-rw-r--r--src/liana/handlers/codec_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liana/handlers/codec_client.c b/src/liana/handlers/codec_client.c
index c3dded1..5c8e94d 100644
--- a/src/liana/handlers/codec_client.c
+++ b/src/liana/handlers/codec_client.c
@@ -84,7 +84,7 @@ static bool codec_client_handle_packet(struct lia_client_handler *handler, struc
}
// Push packet.
- u32 rindex = packet->rindex;
+ const u32 rindex = packet->rindex;
bool success;
u8 mode = nn_packet_read_u8(packet);
// @TODO: default: shouldn't be a case. We should check for an invalid packet.
@@ -138,7 +138,7 @@ static bool codec_client_handle_packet(struct lia_client_handler *handler, struc
al_assert_and_return(false);
}
- // Restore packet rindex in case we resue it.
+ // Restore packet rindex in case we reuse it.
packet->rindex = rindex;
if (!success) {