This commit is contained in:
Kovid Goyal 2023-07-19 12:54:22 +05:30
parent 7a9c425c66
commit bbbc33d4dc
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 1 deletions

View file

@ -300,6 +300,7 @@ unserialize_op(uint8_t *data, size_t len, Operation *op) {
consumed += op->data.len;
break;
}
if (consumed) op->type = data[0];
return consumed;
}