fix off by one error when receiving image request

This commit is contained in:
Leonardo Gibrowski Faé
2024-05-11 15:23:19 -03:00
parent f6a59e92cf
commit e4797395f6

View File

@@ -740,6 +740,8 @@ impl Request {
let (animation, offset) = Animation::deserialize(&bytes[i..]);
i += offset;
animations.push(animation);
} else {
i += 1;
}
}