From: Ruediger Pluem Date: Thu, 16 Nov 2006 20:45:39 +0000 (+0000) Subject: * Fix some comments. No functional change. X-Git-Tag: 2.3.0~2019 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=119a97f624ee818c26345b756b837032c6bd657e;p=thirdparty%2Fapache%2Fhttpd.git * Fix some comments. No functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475922 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c index 84f77e99aef..1d3f1aea22b 100644 --- a/modules/filters/mod_deflate.c +++ b/modules/filters/mod_deflate.c @@ -919,8 +919,9 @@ static apr_status_t inflate_out_filter(ap_filter_t *f, return ap_pass_brigade(f->next, bb); } - /* Let's see what our current Content-Encoding is. - * If gzip is present, don't gzip again. (We could, but let's not.) + /* + * Let's see what our current Content-Encoding is. + * Only inflate if gzip is present. */ encoding = apr_table_get(r->headers_out, "Content-Encoding"); if (encoding) { @@ -1007,7 +1008,8 @@ static apr_status_t inflate_out_filter(ap_filter_t *f, * ourselves. */ ap_remove_output_filter(f); - ctx->stream.avail_in = 0; /* should be zero already anyway */ + /* should be zero already anyway */ + ctx->stream.avail_in = 0; /* * Flush the remaining data from the zlib buffers. It is correct * to use Z_SYNC_FLUSH in this case and not Z_FINISH as in the