Mercurial > hg > nginx
diff src/http/ngx_http_write_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 | cd54bcbaf3b5 |
line wrap: on
line diff
--- a/src/http/ngx_http_write_filter.c +++ b/src/http/ngx_http_write_filter.c @@ -18,7 +18,7 @@ typedef struct { static void *ngx_http_write_filter_create_conf(ngx_pool_t *pool); static char *ngx_http_write_filter_merge_conf(ngx_pool_t *pool, void *parent, void *child); -static int ngx_http_write_filter_init(ngx_cycle_t *cycle, ngx_log_t *log); +static int ngx_http_write_filter_init(ngx_cycle_t *cycle); static ngx_command_t ngx_http_write_filter_commands[] = { @@ -52,8 +52,7 @@ ngx_module_t ngx_http_write_filter_modu ngx_http_write_filter_commands, /* module directives */ NGX_HTTP_MODULE, /* module type */ ngx_http_write_filter_init, /* init module */ - NULL, /* commit module */ - NULL /* rollback module */ + NULL /* init child */ }; @@ -189,7 +188,7 @@ static char *ngx_http_write_filter_merge } -static int ngx_http_write_filter_init(ngx_cycle_t *cycle, ngx_log_t *log) +static int ngx_http_write_filter_init(ngx_cycle_t *cycle) { ngx_http_top_body_filter = ngx_http_write_filter;