diff options
author | 2015-11-14 09:41:06 +0000 | |
---|---|---|
committer | 2015-11-14 09:41:06 +0000 | |
commit | eb843181271518208beeb2dec3eee8b4282169e9 (patch) | |
tree | 57aa88611f9366f09abaa50f2c9c4b5552d44f79 /usr.bin/tmux/cmd-load-buffer.c | |
parent | knock out obsolete mlinks for srandom and urandom; (diff) | |
download | wireguard-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-load-buffer.c')
-rw-r--r-- | usr.bin/tmux/cmd-load-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-load-buffer.c b/usr.bin/tmux/cmd-load-buffer.c index a30536e46b0..4b26c338274 100644 --- a/usr.bin/tmux/cmd-load-buffer.c +++ b/usr.bin/tmux/cmd-load-buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-load-buffer.c,v 1.38 2015/11/12 11:10:50 nicm Exp $ */ +/* $OpenBSD: cmd-load-buffer.c,v 1.39 2015/11/14 09:41:06 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -160,7 +160,7 @@ cmd_load_buffer_callback(struct client *c, int closed, void *data) free(saved); } evbuffer_add_printf(c->stderr_data, "%s", cause); - server_push_stderr(c); + server_client_push_stderr(c); free(pdata); free(cause); } |