summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-set-buffer.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-11-26 22:28:24 +0000
committernicm <nicm@openbsd.org>2009-11-26 22:28:24 +0000
commit5bde14a085d462693eca74214417025e5e776486 (patch)
treebd0d22c08840f7d8d73734d864bdc3f966c0f201 /usr.bin/tmux/cmd-set-buffer.c
parentContinue rather than returning if not a mouse key, to avoid hanging on any (diff)
downloadwireguard-openbsd-5bde14a085d462693eca74214417025e5e776486.tar.xz
wireguard-openbsd-5bde14a085d462693eca74214417025e5e776486.zip
Tidy up various bits of the paste code, make the data buffer char * and add
comments.
Diffstat (limited to 'usr.bin/tmux/cmd-set-buffer.c')
-rw-r--r--usr.bin/tmux/cmd-set-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-set-buffer.c b/usr.bin/tmux/cmd-set-buffer.c
index aeef5d2f245..7fd0ec7c8a3 100644
--- a/usr.bin/tmux/cmd-set-buffer.c
+++ b/usr.bin/tmux/cmd-set-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-set-buffer.c,v 1.5 2009/11/13 19:53:29 nicm Exp $ */
+/* $OpenBSD: cmd-set-buffer.c,v 1.6 2009/11/26 22:28:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -45,7 +45,7 @@ cmd_set_buffer_exec(struct cmd *self, struct cmd_ctx *ctx)
struct cmd_buffer_data *data = self->data;
struct session *s;
u_int limit;
- u_char *pdata;
+ char *pdata;
size_t psize;
if ((s = cmd_find_session(ctx, data->target)) == NULL)