diff options
author | 2017-04-21 18:18:17 +0000 | |
---|---|---|
committer | 2017-04-21 18:18:17 +0000 | |
commit | 33a044c77fdcd44647d9e4e4d227db1368166b13 (patch) | |
tree | 19e2a368e829edf3472db560d5b21136ab7dfb54 /usr.bin/tmux/cmd-queue.c | |
parent | Make id parameter of iwm_send_cmd_pdu() a uint32_t so that it matches (diff) | |
download | wireguard-openbsd-33a044c77fdcd44647d9e4e4d227db1368166b13.tar.xz wireguard-openbsd-33a044c77fdcd44647d9e4e4d227db1368166b13.zip |
Style nits and an unused struct.
Diffstat (limited to 'usr.bin/tmux/cmd-queue.c')
-rw-r--r-- | usr.bin/tmux/cmd-queue.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/tmux/cmd-queue.c b/usr.bin/tmux/cmd-queue.c index b4313ea2ec4..f1f88e0bb9b 100644 --- a/usr.bin/tmux/cmd-queue.c +++ b/usr.bin/tmux/cmd-queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-queue.c,v 1.49 2017/04/21 14:01:19 nicm Exp $ */ +/* $OpenBSD: cmd-queue.c,v 1.50 2017/04/21 18:18:17 nicm Exp $ */ /* * Copyright (c) 2013 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |