From 773f4534e02242ba08d7d3901436ae16122ade4a Mon Sep 17 00:00:00 2001 From: Cliff Woolley Date: Thu, 28 Feb 2002 23:24:08 +0000 Subject: [PATCH] Use the new APR_BRIGADE_PREPEND() macro git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93650 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_include.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 45a7e70ec5..6088060164 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -447,16 +447,7 @@ static apr_bucket *find_start_sequence(apr_bucket *dptr, include_ctx_t *ctx, /* False alarm... */ - if (!APR_BRIGADE_EMPTY(ctx->ssi_tag_brigade)) { - for (;;) { - apr_bucket *e = APR_BRIGADE_LAST(ctx->ssi_tag_brigade); - if (e == APR_BRIGADE_SENTINEL(ctx->ssi_tag_brigade)) { - break; - } - APR_BUCKET_REMOVE(e); - APR_BRIGADE_INSERT_HEAD(bb, e); - } - } + APR_BRIGADE_PREPEND(bb, ctx->ssi_tag_brigade); ctx->state = PRE_HEAD; } -- 2.50.1