From 9ebee6aef8aab237314e167f0d0412ddc5ebf513 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Thu, 30 Dec 2010 22:39:49 +0000 Subject: Global paste buffers instead of per-session which renders copy-buffer useless. As a consequence buffer-limit is now a server option. --- paste.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'paste.c') 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 @@ -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) -- cgit