Commit 7615e8a3 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

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
parent 0ae897d3
Loading
Loading
Loading
Loading
+1 −0
Changes for modules/filters/mod_deflate.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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)) {
            /*