From e4797395f656336a328ec4fcb3bbb2e35457d67c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Gibrowski=20Fa=C3=A9?= Date: Sat, 11 May 2024 15:23:19 -0300 Subject: [PATCH] fix off by one error when receiving image request --- utils/src/ipc.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/src/ipc.rs b/utils/src/ipc.rs index 3ed4028..021a545 100644 --- a/utils/src/ipc.rs +++ b/utils/src/ipc.rs @@ -740,6 +740,8 @@ impl Request { let (animation, offset) = Animation::deserialize(&bytes[i..]); i += offset; animations.push(animation); + } else { + i += 1; } }