diff options
author | 2014-09-01 21:50:18 +0000 | |
---|---|---|
committer | 2014-09-01 21:50:18 +0000 | |
commit | c6cf1eff52e0050059f665505906ad45f74f9186 (patch) | |
tree | 6e61e713891907a60157df7dab12292d3a3ffb40 /usr.bin/tmux/cmd-queue.c | |
parent | Close fd if fdopen fails (diff) | |
download | wireguard-openbsd-c6cf1eff52e0050059f665505906ad45f74f9186.tar.xz wireguard-openbsd-c6cf1eff52e0050059f665505906ad45f74f9186.zip |
Various minor style and spacing nits.
Diffstat (limited to 'usr.bin/tmux/cmd-queue.c')
-rw-r--r-- | usr.bin/tmux/cmd-queue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/cmd-queue.c b/usr.bin/tmux/cmd-queue.c index 66620fdccd2..5313cb09451 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.16 2014/04/17 07:55:43 nicm Exp $ */ +/* $OpenBSD: cmd-queue.c,v 1.17 2014/09/01 21:50:18 nicm Exp $ */ /* * Copyright (c) 2013 Nicholas Marriott <nicm@users.sourceforge.net> @@ -124,14 +124,14 @@ cmdq_guard(struct cmd_q *cmdq, const char *guard, int flags) struct client *c = cmdq->client; if (c == NULL) - return 0; + return (0); if (!(c->flags & CLIENT_CONTROL)) - return 0; + return (0); evbuffer_add_printf(c->stdout_data, "%%%s %ld %u %d\n", guard, (long) cmdq->time, cmdq->number, flags); server_push_stdout(c); - return 1; + return (1); } /* Add command list to queue and begin processing if needed. */ |