You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jw...@apache.org on 2002/03/01 00:24:08 UTC
cvs commit: httpd-2.0/modules/filters mod_include.c
jwoolley 02/02/28 15:24:08
Modified: modules/filters mod_include.c
Log:
Use the new APR_BRIGADE_PREPEND() macro
Revision Changes Path
1.194 +1 -10 httpd-2.0/modules/filters/mod_include.c
Index: mod_include.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -d -u -r1.193 -r1.194
--- mod_include.c 24 Feb 2002 07:40:05 -0000 1.193
+++ mod_include.c 28 Feb 2002 23:24:08 -0000 1.194
@@ -447,16 +447,7 @@
/* 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;
}