httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r519971 - /httpd/httpd/trunk/modules/experimental/mod_sedfilter.c
Date Mon, 19 Mar 2007 15:22:59 GMT
Author: jim
Date: Mon Mar 19 08:22:58 2007
New Revision: 519971

URL: http://svn.apache.org/viewvc?view=rev&rev=519971
Log:
Add comment to avoid confusion and questions :)

Modified:
    httpd/httpd/trunk/modules/experimental/mod_sedfilter.c

Modified: httpd/httpd/trunk/modules/experimental/mod_sedfilter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/experimental/mod_sedfilter.c?view=diff&rev=519971&r1=519970&r2=519971
==============================================================================
--- httpd/httpd/trunk/modules/experimental/mod_sedfilter.c (original)
+++ httpd/httpd/trunk/modules/experimental/mod_sedfilter.c Mon Mar 19 08:22:58 2007
@@ -107,8 +107,13 @@
         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) {



Mime
View raw message