]> granicus.if.org Git - apache/commitdiff
Add comment that the check for empty brigade at the start of the function is
authorStefan Fritsch <sf@apache.org>
Fri, 16 Sep 2011 16:40:52 +0000 (16:40 +0000)
committerStefan Fritsch <sf@apache.org>
Fri, 16 Sep 2011 16:40:52 +0000 (16:40 +0000)
essential.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1171655 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_deflate.c

index 7687a53f3f9ec6319308c6af684f50349496278f..f2156aaf550a3b834c27ec3a9975c5b0bd7856e3 100644 (file)
@@ -448,6 +448,7 @@ static apr_status_t deflate_out_filter(ap_filter_t *f,
         char *token;
         const char *encoding;
 
+        /* We have checked above that bb is not empty */
         e = APR_BRIGADE_LAST(bb);
         if (APR_BUCKET_IS_EOS(e)) {
             /*