diff options
author | nicm <nicm> | 2019-05-18 21:14:10 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-05-18 21:14:10 +0000 |
commit | 82ebd98c5f874cd10365d9563feccfbb8da188f4 (patch) | |
tree | f1063858add8b47a2a34ba7a1df03f8c9b39867d /cmd-queue.c | |
parent | 9b83b1daa6caee4d2c665c26da37866712c555a8 (diff) | |
download | rtmux-82ebd98c5f874cd10365d9563feccfbb8da188f4.tar.gz rtmux-82ebd98c5f874cd10365d9563feccfbb8da188f4.tar.bz2 rtmux-82ebd98c5f874cd10365d9563feccfbb8da188f4.zip |
Move the single command flag (CMD_CONTROL) into the shared flags.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index fb2c7fac..93b9788e 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -266,13 +266,14 @@ static enum cmd_retval cmdq_fire_command(struct cmdq_item *item) { struct client *c = item->client; + struct cmdq_shared *shared = item->shared; struct cmd *cmd = item->cmd; const struct cmd_entry *entry = cmd->entry; enum cmd_retval retval; struct cmd_find_state *fsp, fs; int flags; - flags = !!(cmd->flags & CMD_CONTROL); + flags = !!(shared->flags & CMDQ_SHARED_CONTROL); cmdq_guard(item, "begin", flags); if (item->client == NULL) |