Mercurial > hg > nginx-quic
diff src/http/ngx_http_write_filter.c @ 119:cd54bcbaf3b5
nginx-0.0.1-2003-07-21-01:15:59 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 20 Jul 2003 21:15:59 +0000 |
parents | d7f606e25b99 |
children | cb77c084acdb |
line wrap: on
line diff
--- a/src/http/ngx_http_write_filter.c +++ b/src/http/ngx_http_write_filter.c @@ -15,8 +15,8 @@ typedef struct { } ngx_http_write_filter_ctx_t; -static void *ngx_http_write_filter_create_conf(ngx_pool_t *pool); -static char *ngx_http_write_filter_merge_conf(ngx_pool_t *pool, +static void *ngx_http_write_filter_create_conf(ngx_conf_t *cf); +static char *ngx_http_write_filter_merge_conf(ngx_conf_t *cf, void *parent, void *child); static int ngx_http_write_filter_init(ngx_cycle_t *cycle); @@ -162,12 +162,12 @@ int ngx_http_write_filter(ngx_http_reque } -static void *ngx_http_write_filter_create_conf(ngx_pool_t *pool) +static void *ngx_http_write_filter_create_conf(ngx_conf_t *cf) { ngx_http_write_filter_conf_t *conf; ngx_test_null(conf, - ngx_palloc(pool, sizeof(ngx_http_write_filter_conf_t)), + ngx_palloc(cf->pool, sizeof(ngx_http_write_filter_conf_t)), NULL); conf->buffer_output = NGX_CONF_UNSET; @@ -176,7 +176,7 @@ static void *ngx_http_write_filter_creat } -static char *ngx_http_write_filter_merge_conf(ngx_pool_t *pool, +static char *ngx_http_write_filter_merge_conf(ngx_conf_t *cf, void *parent, void *child) { ngx_http_write_filter_conf_t *prev = parent;