diff options
author | nicm <nicm> | 2017-05-16 12:57:26 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-05-16 12:57:26 +0000 |
commit | 31625c2d171080aea53baee7c0aec7e9f939cf7d (patch) | |
tree | 46b4dfa9679a39579bba9c558b05edd331bcbcae | |
parent | 1ba7f1d03f680df20d45b5c2ca08ae39665e1dea (diff) | |
download | rtmux-31625c2d171080aea53baee7c0aec7e9f939cf7d.tar.gz rtmux-31625c2d171080aea53baee7c0aec7e9f939cf7d.tar.bz2 rtmux-31625c2d171080aea53baee7c0aec7e9f939cf7d.zip |
Line length and spaces to tabs.
-rw-r--r-- | grid.c | 3 | ||||
-rw-r--r-- | server-client.c | 15 |
2 files changed, 9 insertions, 9 deletions
@@ -665,8 +665,7 @@ grid_string_cells_bg(const struct grid_cell *gc, int *values) /* * Returns ANSI code to set particular attributes (colour, bold and so on) - * given a current state. The output buffer must be able to hold at least 57 - * bytes. + * given a current state. */ static void grid_string_cells_code(const struct grid_cell *lastgc, diff --git a/server-client.c b/server-client.c index 0ac38175..cfaf565b 100644 --- a/server-client.c +++ b/server-client.c @@ -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); |