From cc42614fa92a0fd93ae359af6562401a2d3d00d7 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 30 Dec 2010 23:16:18 +0000 Subject: Change from a per-session stack of buffers to one global stack which is much more convenient and also simplifies lot of code. This renders copy-buffer useless and makes buffer-limit now a server option. By Tiago Cunha. --- paste.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'paste.c') diff --git a/paste.c b/paste.c index da93129a..a5489552 100644 --- a/paste.c +++ b/paste.c @@ -29,19 +29,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