Tidy up various bits of the paste code, make the data buffer char * and add

comments.
This commit is contained in:
Nicholas Marriott
2009-11-26 22:28:24 +00:00
parent ba5404d93e
commit 8cb410c63c
7 changed files with 55 additions and 24 deletions

View File

@ -64,7 +64,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) {