From 119a97f624ee818c26345b756b837032c6bd657e Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Thu, 16 Nov 2006 20:45:39 +0000 Subject: [PATCH] * Fix some comments. No functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475922 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_deflate.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c index 84f77e99ae..1d3f1aea22 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 -- 2.49.0