diff options
| author | Christian Hopps <chopps@labn.net> | 2023-06-16 07:19:53 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-06-18 14:02:47 -0400 |
| commit | babbdd43d5319dd370672f794a44f33bdcdc36e5 (patch) | |
| tree | a2300f5066d25d4f276b31516960b7b6687b9a41 /lib/mgmt_msg.h | |
| parent | 2b21ec2c4983a3219881c3dd16b61ae9560e9b26 (diff) | |
lib: mgmtd: re-purpose is_short_circuit and fix depth variable inc/dec
`is_short_circuit` now is set to true when a message is being
short-circuit handled.
`short_circuit_depth` was being inc/dec inside conditional macro, move
that out of the macro.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/mgmt_msg.h')
| -rw-r--r-- | lib/mgmt_msg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mgmt_msg.h b/lib/mgmt_msg.h index 9fdcb9ecd3..dd7ae59f91 100644 --- a/lib/mgmt_msg.h +++ b/lib/mgmt_msg.h @@ -98,8 +98,8 @@ struct msg_conn { struct msg_conn *conn); void *user; uint short_circuit_depth; + bool is_short_circuit; /* true when the message being handled is SC */ bool is_client; - bool is_short_circuit; bool debug; }; |
