aboutsummaryrefslogtreecommitdiff
path: root/cmd-list-buffers.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-28 14:54:12 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-28 14:54:12 +0000
commitfabf40b3b3c9f37930aa99e40771a069a9c94adf (patch)
treef1aa668369ce2d47db3dae1390a057143d4136b7 /cmd-list-buffers.c
parent66bf2e2f040b9fc1a6f06f5076858c810b54b194 (diff)
downloadrtmux-fabf40b3b3c9f37930aa99e40771a069a9c94adf.tar.gz
rtmux-fabf40b3b3c9f37930aa99e40771a069a9c94adf.tar.bz2
rtmux-fabf40b3b3c9f37930aa99e40771a069a9c94adf.zip
Sync OpenBSD patchset 569:
Tidy up various bits of the paste code, make the data buffer char * and add comments.
Diffstat (limited to 'cmd-list-buffers.c')
-rw-r--r--cmd-list-buffers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-list-buffers.c b/cmd-list-buffers.c
index eb5d75dc..287736ab 100644
--- a/cmd-list-buffers.c
+++ b/cmd-list-buffers.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-list-buffers.c,v 1.13 2009-11-14 17:56:39 tcunha Exp $ */
+/* $Id: cmd-list-buffers.c,v 1.14 2009-11-28 14:54:12 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -63,7 +63,7 @@ cmd_list_buffers_exec(struct cmd *self, struct cmd_ctx *ctx)
strvisx(tmp, pb->data, len, VIS_OCTAL|VIS_TAB|VIS_NL);
/*
- * If the first 50 characterswere encoded as a longer string,
+ * If the first 50 characters were encoded as a longer string,
* or there is definitely more data, add "...".
*/
if (size > 50 || strlen(tmp) > 50) {