diff options
Diffstat (limited to 'src/core/ngx_buf.h')
-rw-r--r-- | src/core/ngx_buf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h index 768400d25..fbfd3946a 100644 --- a/src/core/ngx_buf.h +++ b/src/core/ngx_buf.h @@ -69,7 +69,7 @@ typedef struct { } ngx_bufs_t; -typedef int (*ngx_output_chain_filter_pt)(void *ctx, ngx_chain_t *out); +typedef ngx_int_t (*ngx_output_chain_filter_pt)(void *ctx, ngx_chain_t *in); typedef struct { ngx_buf_t *buf; @@ -141,7 +141,7 @@ ngx_chain_t *ngx_create_chain_of_bufs(ngx_pool_t *pool, ngx_bufs_t *bufs); ngx_int_t ngx_output_chain(ngx_output_chain_ctx_t *ctx, ngx_chain_t *in); -ngx_int_t ngx_chain_writer(void *data, ngx_chain_t *in); +ngx_int_t ngx_chain_writer(void *ctx, ngx_chain_t *in); ngx_int_t ngx_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **chain, ngx_chain_t *in); |