summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server-client.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-05-16 12:57:26 +0000
committernicm <nicm@openbsd.org>2017-05-16 12:57:26 +0000
commit15b7c10b9c9cd7426ef17ad9ebc4ded071215745 (patch)
tree64df2e620724ec1c46f6165f66be9d8f8cff20e1 /usr.bin/tmux/server-client.c
parentReplace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED(). (diff)
downloadwireguard-openbsd-15b7c10b9c9cd7426ef17ad9ebc4ded071215745.tar.xz
wireguard-openbsd-15b7c10b9c9cd7426ef17ad9ebc4ded071215745.zip
Line length and spaces to tabs.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r--usr.bin/tmux/server-client.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 8e3a4c3187e..9e409bafad3 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.231 2017/05/10 10:46:59 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.232 2017/05/16 12:57:26 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -51,7 +51,8 @@ static void server_client_dispatch_shell(struct client *);
/* Identify mode callback. */
static void
-server_client_callback_identify(__unused int fd, __unused short events, void *data)
+server_client_callback_identify(__unused int fd, __unused short events,
+ void *data)
{
server_client_clear_identify(data, NULL);
}
@@ -330,7 +331,7 @@ server_client_free(__unused int fd, __unused short events, void *arg)
void
server_client_suspend(struct client *c)
{
- struct session *s = c->session;
+ struct session *s = c->session;
if (s == NULL || (c->flags & CLIENT_DETACHING))
return;
@@ -344,7 +345,7 @@ server_client_suspend(struct client *c)
void
server_client_detach(struct client *c, enum msgtype msgtype)
{
- struct session *s = c->session;
+ struct session *s = c->session;
if (s == NULL || (c->flags & CLIENT_DETACHING))
return;
@@ -1230,7 +1231,7 @@ server_client_check_redraw(struct client *c)
struct session *s = c->session;
struct tty *tty = &c->tty;
struct window_pane *wp;
- int needed, flags, masked;
+ int needed, flags, masked;
struct timeval tv = { .tv_usec = 1000 };
static struct event ev;
size_t left;
@@ -1535,7 +1536,7 @@ static void
server_client_dispatch_identify(struct client *c, struct imsg *imsg)
{
const char *data, *home;
- size_t datalen;
+ size_t datalen;
int flags;
char *name;
@@ -1676,7 +1677,7 @@ void
server_client_push_stdout(struct client *c)
{
struct msg_stdout_data data;
- size_t sent, left;
+ size_t sent, left;
left = EVBUFFER_LENGTH(c->stdout_data);
while (left != 0) {
@@ -1717,7 +1718,7 @@ void
server_client_push_stderr(struct client *c)
{
struct msg_stderr_data data;
- size_t sent, left;
+ size_t sent, left;
if (c->stderr_data == c->stdout_data) {
server_client_push_stdout(c);