summaryrefslogtreecommitdiffstats
path: root/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-21 18:18:17 +0000
committernicm <nicm>2017-04-21 18:18:17 +0000
commit3c876235cc2d0d36f961e1f026f9feaf5cd22b73 (patch)
tree81a785502a38bc8d1f7fe7258637ce0c3d6e627a /cmd-queue.c
parentafa4e3ed9c9928c20b8007634538649422f920b5 (diff)
Style nits and an unused struct.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r--cmd-queue.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd-queue.c b/cmd-queue.c
index 56745c38..804216fa 100644
--- a/cmd-queue.c
+++ b/cmd-queue.c
@@ -206,7 +206,7 @@ cmdq_fire_command(struct cmdq_item *item)
goto out;
}
if (item->client == NULL)
- item->client = cmd_find_client(item, NULL, CMD_FIND_QUIET);
+ item->client = cmd_find_client(item, NULL, 1);
retval = cmd->entry->exec(cmd, item);
if (retval == CMD_RETURN_ERROR)
@@ -325,8 +325,7 @@ cmdq_next(struct client *c)
item->time = time(NULL);
item->number = ++number;
- switch (item->type)
- {
+ switch (item->type) {
case CMDQ_COMMAND:
retval = cmdq_fire_command(item);