summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-save-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-08-29 09:36:47 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-08-29 09:36:47 +0000
commitc2f746b0f3d2da784a5ecf4e885735c5df529f74 (patch)
treec6a31050cf4ee6eae187741289d76b88a18ae8a5 /usr.bin/tmux/cmd-save-buffer.c
parent9d332c354ae9609d0c3cbcc30db4f3b4081c8039 (diff)
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;