Skip to content

Commit

Permalink
Fix crash on quit (allowed error in mpack Response)
Browse files Browse the repository at this point in the history
  • Loading branch information
RMichelsen committed Apr 26, 2023
1 parent b59a2d6 commit f566cb7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/mpack_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ inline MPackMessageResult MPackExtractMessageResult(mpack_tree_t *tree) {
}
else if (message_type == MPackMessageType::Response) {
assert(mpack_node_array_at(root, 1).data->type == mpack_type_uint);
assert(mpack_node_array_at(root, 2).data->type == mpack_type_nil);

return MPackMessageResult {
.type = message_type,
Expand Down

0 comments on commit f566cb7

Please sign in to comment.