From fabf40b3b3c9f37930aa99e40771a069a9c94adf Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sat, 28 Nov 2009 14:54:12 +0000 Subject: Sync OpenBSD patchset 569: Tidy up various bits of the paste code, make the data buffer char * and add comments. --- cmd-set-buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd-set-buffer.c') diff --git a/cmd-set-buffer.c b/cmd-set-buffer.c index b7a35451..dfcd1473 100644 --- a/cmd-set-buffer.c +++ b/cmd-set-buffer.c @@ -1,4 +1,4 @@ -/* $Id: cmd-set-buffer.c,v 1.11 2009-11-14 17:56:39 tcunha Exp $ */ +/* $Id: cmd-set-buffer.c,v 1.12 2009-11-28 14:54:12 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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) -- cgit