Skip to content

Commit

Permalink
fixup! pyosdp: Hoist cmd->id set in pyosdp_make_struct_cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
sidcha committed Jun 27, 2023
1 parent 4feb2f8 commit 11f0848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyosdp_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ static int pyosdp_make_struct_cmd_file_tx(struct osdp_cmd *p, PyObject *dict)
if (pyosdp_dict_get_int(dict, "flags", &flags))
return -1;

cmd->id = id;
cmd->flags = flags;
return 0;
}
Expand Down

0 comments on commit 11f0848

Please sign in to comment.