diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-04-20 07:00:43 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-04-20 07:00:43 +0000 |
| commit | bb570859043557c5c1b20d933ff2e4c18d13c980 (patch) | |
| tree | 3557e525fb733be86acca6932794700ed0ea3c94 /src/http | |
| parent | 978dabaf1fdc2c8d190eaae1ff07f5100bf0e245 (diff) | |
| download | nginx-bb570859043557c5c1b20d933ff2e4c18d13c980.tar.gz nginx-bb570859043557c5c1b20d933ff2e4c18d13c980.tar.bz2 | |
nginx-0.0.3-2004-04-20-11:00:43 import
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/modules/ngx_http_gzip_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_gzip_filter.c b/src/http/modules/ngx_http_gzip_filter.c index a455fe155..a4b154b74 100644 --- a/src/http/modules/ngx_http_gzip_filter.c +++ b/src/http/modules/ngx_http_gzip_filter.c @@ -502,7 +502,7 @@ static int ngx_http_gzip_body_filter(ngx_http_request_t *r, ngx_chain_t *in) ctx->in_hunk = ctx->in->hunk; ctx->in = ctx->in->next; - ctx->zstream.next_in = (u_char *) ctx->in_hunk->pos; + ctx->zstream.next_in = ctx->in_hunk->pos; ctx->zstream.avail_in = ctx->in_hunk->last - ctx->in_hunk->pos; if (ctx->in_hunk->type & NGX_HUNK_LAST) { @@ -543,7 +543,7 @@ static int ngx_http_gzip_body_filter(ngx_http_request_t *r, ngx_chain_t *in) break; } - ctx->zstream.next_out = (u_char *) ctx->out_hunk->pos; + ctx->zstream.next_out = ctx->out_hunk->pos; ctx->zstream.avail_out = conf->bufs.size; } |
