summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-capture-pane.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-capture-pane.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-capture-pane.c')
-rw-r--r--usr.bin/tmux/cmd-capture-pane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-capture-pane.c b/usr.bin/tmux/cmd-capture-pane.c
index 378ed74f6e3..808c93db060 100644
--- a/usr.bin/tmux/cmd-capture-pane.c
+++ b/usr.bin/tmux/cmd-capture-pane.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-capture-pane.c,v 1.34 2015/10/16 07:43:29 nicm Exp $ */
+/* $OpenBSD: cmd-capture-pane.c,v 1.35 2015/11/14 09:41:06 nicm Exp $ */
/*
* Copyright (c) 2009 Jonathan Alvarado <radobobo@users.sourceforge.net>
@@ -203,7 +203,7 @@ cmd_capture_pane_exec(struct cmd *self, struct cmd_q *cmdq)
free(buf);
if (args_has(args, 'P') && len > 0)
evbuffer_add(c->stdout_data, "\n", 1);
- server_push_stdout(c);
+ server_client_push_stdout(c);
} else {
bufname = NULL;
if (args_has(args, 'b'))