aboutsummaryrefslogtreecommitdiff
path: root/paste.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-12-30 22:39:49 +0000
committerTiago Cunha <tcunha@gmx.com>2010-12-30 22:39:49 +0000
commit9ebee6aef8aab237314e167f0d0412ddc5ebf513 (patch)
tree61d060770b8af5e2a467badb74a3aab4d71a6372 /paste.c
parent095e1b410a31166d1f37e8a6ff99e7bb666737ad (diff)
downloadrtmux-9ebee6aef8aab237314e167f0d0412ddc5ebf513.tar.gz
rtmux-9ebee6aef8aab237314e167f0d0412ddc5ebf513.tar.bz2
rtmux-9ebee6aef8aab237314e167f0d0412ddc5ebf513.zip
Global paste buffers instead of per-session which renders copy-buffer useless.
As a consequence buffer-limit is now a server option.
Diffstat (limited to 'paste.c')
-rw-r--r--paste.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/paste.c b/paste.c
index 0850ca8d..004c73f3 100644
--- a/paste.c
+++ b/paste.c
@@ -1,4 +1,4 @@
-/* $Id: paste.c,v 1.15 2010-06-22 23:36:54 tcunha Exp $ */
+/* $Id: paste.c,v 1.16 2010-12-30 22:39:49 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -28,19 +28,6 @@
* string!
*/
-void
-paste_init_stack(struct paste_stack *ps)
-{
- ARRAY_INIT(ps);
-}
-
-void
-paste_free_stack(struct paste_stack *ps)
-{
- while (paste_free_top(ps) == 0)
- ;
-}
-
/* Return each item of the stack in turn. */
struct paste_buffer *
paste_walk_stack(struct paste_stack *ps, uint *idx)