aboutsummaryrefslogtreecommitdiff
path: root/control.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-14 11:38:30 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-14 11:38:30 +0000
commit7b749eff3510ccf173c029a92c266e91454ce600 (patch)
tree8194d8dcf4d3364360960c741a3266cb9a9d7101 /control.c
parent23266e8e095fb590543d309ae3c8e30fcd98d6b7 (diff)
parentc56b81a2ce815f6d289232f20bb6e07cfd0e36ec (diff)
downloadrtmux-7b749eff3510ccf173c029a92c266e91454ce600.tar.gz
rtmux-7b749eff3510ccf173c029a92c266e91454ce600.tar.bz2
rtmux-7b749eff3510ccf173c029a92c266e91454ce600.zip
Merge branch 'obsd-master'
Conflicts: server.c tmux.c
Diffstat (limited to 'control.c')
-rw-r--r--control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/control.c b/control.c
index 11fa2d80..f7264944 100644
--- a/control.c
+++ b/control.c
@@ -37,7 +37,7 @@ control_write(struct client *c, const char *fmt, ...)
va_end(ap);
evbuffer_add(c->stdout_data, "\n", 1);
- server_push_stdout(c);
+ server_client_push_stdout(c);
}
/* Write a buffer, adding a terminal newline. Empties buffer. */
@@ -46,7 +46,7 @@ control_write_buffer(struct client *c, struct evbuffer *buffer)
{
evbuffer_add_buffer(c->stdout_data, buffer);
evbuffer_add(c->stdout_data, "\n", 1);
- server_push_stdout(c);
+ server_client_push_stdout(c);
}
/* Control input callback. Read lines and fire commands. */