Mercurial > hg > nginx
diff src/http/modules/ngx_http_chunked_filter.c @ 113:d7f606e25b99
nginx-0.0.1-2003-07-04-19:10:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 04 Jul 2003 15:10:33 +0000 |
parents | 152567c11325 |
children | e29909bd9b8a |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_chunked_filter.c +++ b/src/http/modules/ngx_http_chunked_filter.c @@ -4,7 +4,7 @@ #include <ngx_http.h> -static int ngx_http_chunked_filter_init(ngx_cycle_t *cycle, ngx_log_t *log); +static int ngx_http_chunked_filter_init(ngx_cycle_t *cycle); static ngx_http_module_t ngx_http_chunked_filter_module_ctx = { @@ -25,8 +25,7 @@ ngx_module_t ngx_http_chunked_filter_mo NULL, /* module directives */ NGX_HTTP_MODULE, /* module type */ ngx_http_chunked_filter_init, /* init module */ - NULL, /* commit module */ - NULL /* rollback module */ + NULL /* init child */ }; @@ -119,7 +118,7 @@ static int ngx_http_chunked_body_filter( } -static int ngx_http_chunked_filter_init(ngx_cycle_t *cycle, ngx_log_t *log) +static int ngx_http_chunked_filter_init(ngx_cycle_t *cycle) { next_header_filter = ngx_http_top_header_filter; ngx_http_top_header_filter = ngx_http_chunked_header_filter;