summaryrefslogtreecommitdiffstats
path: root/cmd-set-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-26 22:28:24 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-26 22:28:24 +0000
commit8cb410c63cbec58dc736e160ffe88a67af46e4c9 (patch)
tree557c8cea9558af595265778be29a851a4afd4c28 /cmd-set-buffer.c
parentba5404d93e40e61176ffb150b66ddc3b349603a7 (diff)
Tidy up various bits of the paste code, make the data buffer char * and add
comments.
Diffstat (limited to 'cmd-set-buffer.c')
-rw-r--r--cmd-set-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-set-buffer.c b/cmd-set-buffer.c
index 4e50cc7a..a93a0adf 100644
--- a/cmd-set-buffer.c
+++ b/cmd-set-buffer.c
@@ -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)