mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-27 03:09:14 +00:00
Rename MSG_SERIALIZED_MAX_SIZE to MSG_MAX_SIZE
For simplicity and consistency with the server part.
This commit is contained in:
parent
d202d7b205
commit
d91c5dcfd5
6 changed files with 23 additions and 24 deletions
|
@ -60,7 +60,7 @@ controller_push_msg(struct controller *controller,
|
|||
static bool
|
||||
process_msg(struct controller *controller,
|
||||
const struct control_msg *msg) {
|
||||
unsigned char serialized_msg[CONTROL_MSG_SERIALIZED_MAX_SIZE];
|
||||
unsigned char serialized_msg[CONTROL_MSG_MAX_SIZE];
|
||||
int length = control_msg_serialize(msg, serialized_msg);
|
||||
if (!length) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue