From 3bf99c1314451613a88f8b1b43a83335e650df3c Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Mon, 19 Mar 2007 15:22:58 +0000 Subject: [PATCH] Add comment to avoid confusion and questions :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@519971 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_sedfilter.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/experimental/mod_sedfilter.c b/modules/experimental/mod_sedfilter.c index 03d73448fb..c93d0db4b7 100644 --- a/modules/experimental/mod_sedfilter.c +++ b/modules/experimental/mod_sedfilter.c @@ -107,8 +107,13 @@ static apr_bucket_brigade *do_pattmatch(ap_filter_t *f, apr_bucket *inb) for (b = APR_BRIGADE_FIRST(mybb); b != APR_BRIGADE_SENTINEL(mybb); b = APR_BUCKET_NEXT(b)) { - if (APR_BUCKET_IS_METADATA(b)) + if (APR_BUCKET_IS_METADATA(b)) { + /* + * we should NEVER see this, because we should never + * be passed any, but "handle" it just in case. + */ continue; + } if (apr_bucket_read(b, &buff, &bytes, APR_BLOCK_READ) == APR_SUCCESS) { s1 = NULL; if (script->pattern) { -- 2.40.0