summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-save-buffer.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-14 09:41:06 +0000
committernicm <nicm@openbsd.org>2015-11-14 09:41:06 +0000
commiteb843181271518208beeb2dec3eee8b4282169e9 (patch)
tree57aa88611f9366f09abaa50f2c9c4b5552d44f79 /usr.bin/tmux/cmd-save-buffer.c
parentknock out obsolete mlinks for srandom and urandom; (diff)
downloadwireguard-openbsd-eb843181271518208beeb2dec3eee8b4282169e9.tar.xz
wireguard-openbsd-eb843181271518208beeb2dec3eee8b4282169e9.zip
Push stdout and stderr to clients more aggressively, and add an event to
continue if the send fails.
Diffstat (limited to 'usr.bin/tmux/cmd-save-buffer.c')
-rw-r--r--usr.bin/tmux/cmd-save-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-save-buffer.c b/usr.bin/tmux/cmd-save-buffer.c
index 931840367ee..75cdcc9b31f 100644
--- a/usr.bin/tmux/cmd-save-buffer.c
+++ b/usr.bin/tmux/cmd-save-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-save-buffer.c,v 1.33 2015/11/10 22:33:47 nicm Exp $ */
+/* $OpenBSD: cmd-save-buffer.c,v 1.34 2015/11/14 09:41:06 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -130,7 +130,7 @@ cmd_save_buffer_exec(struct cmd *self, struct cmd_q *cmdq)
do_stdout:
evbuffer_add(c->stdout_data, bufdata, bufsize);
- server_push_stdout(c);
+ server_client_push_stdout(c);
return (CMD_RETURN_NORMAL);
do_print: