From: Stefan Fritsch Date: Fri, 16 Sep 2011 16:40:52 +0000 (+0000) Subject: Add comment that the check for empty brigade at the start of the function is X-Git-Tag: 2.3.15~245 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ea465f3ba6c57671d82a4f6e03521887cc25edd;p=apache Add comment that the check for empty brigade at the start of the function is essential. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1171655 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c index 7687a53f3f..f2156aaf55 100644 --- a/modules/filters/mod_deflate.c +++ b/modules/filters/mod_deflate.c @@ -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)) { /*