]> granicus.if.org Git - apache/commitdiff
Add comment to avoid confusion and questions :)
authorJim Jagielski <jim@apache.org>
Mon, 19 Mar 2007 15:22:58 +0000 (15:22 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 19 Mar 2007 15:22:58 +0000 (15:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@519971 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_sedfilter.c

index 03d73448fb5ae7e183e06968e522ba7ca53287d0..c93d0db4b78654382755a82a0b18b2b3fbd9509c 100644 (file)
@@ -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) {