Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_gzip_filter.c @ 322:ab2f8c9a2a45
nginx-0.0.3-2004-04-20-11:00:43 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 20 Apr 2004 07:00:43 +0000 |
parents | 32847588a82a |
children | ba876b26b76d |
line wrap: on
line diff
--- 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 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 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; }