From 11f08481e20ed153d32261639445b3196f4483fd Mon Sep 17 00:00:00 2001 From: Siddharth Chandrasekaran Date: Tue, 27 Jun 2023 12:16:27 +0200 Subject: [PATCH] fixup! pyosdp: Hoist cmd->id set in pyosdp_make_struct_cmd --- python/pyosdp_data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/python/pyosdp_data.c b/python/pyosdp_data.c index c042f568..1578b3e8 100644 --- a/python/pyosdp_data.c +++ b/python/pyosdp_data.c @@ -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; }