summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-save-buffer.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-08-29 09:36:46 +0000
committernicm <nicm@openbsd.org>2015-08-29 09:36:46 +0000
commit95e3399960893b6fa562a81824c0bdd3b4a6bf4e (patch)
treeea521617475f4c07a6862b7c2b5092b20fcba9e3 /usr.bin/tmux/cmd-save-buffer.c
parentMove struct paste_buffer out of tmux.h. (diff)
downloadwireguard-openbsd-95e3399960893b6fa562a81824c0bdd3b4a6bf4e.tar.xz
wireguard-openbsd-95e3399960893b6fa562a81824c0bdd3b4a6bf4e.zip
paste_send_pane can be merged into cmd-paste-buffer.c now.
Diffstat (limited to 'usr.bin/tmux/cmd-save-buffer.c')
-rw-r--r--usr.bin/tmux/cmd-save-buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-save-buffer.c b/usr.bin/tmux/cmd-save-buffer.c
index 06e5f31c5ea..4dc46a65285 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.29 2015/08/29 09:25:00 nicm Exp $ */
+/* $OpenBSD: cmd-save-buffer.c,v 1.30 2015/08/29 09:36:46 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -57,8 +57,8 @@ cmd_save_buffer_exec(struct cmd *self, struct cmd_q *cmdq)
struct client *c = cmdq->client;
struct session *s;
struct paste_buffer *pb;
- const char *path, *bufname, *bufdata;
- char *start, *end, *msg;
+ const char *path, *bufname, *bufdata, *start, *end;
+ char *msg;
size_t size, used, msglen, bufsize;
int cwd, fd;
FILE *f;