diff src/core/ngx_output_chain.c @ 166:389d7ee9fa60

nginx-0.0.1-2003-10-30-11:51:06 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 30 Oct 2003 08:51:06 +0000
parents 84036764e215
children 8aef3c72e5da
line wrap: on
line diff
--- a/src/core/ngx_output_chain.c
+++ b/src/core/ngx_output_chain.c
@@ -108,7 +108,7 @@ int ngx_output_chain(ngx_output_chain_ct
                     }
 
                     ngx_test_null(ctx->hunk,
-                                  ngx_create_temp_hunk(ctx->pool, size, 0, 0),
+                                  ngx_create_temp_hunk(ctx->pool, size),
                                   NGX_ERROR);
                     ctx->hunk->tag = ctx->tag;
                     ctx->hunk->type |= NGX_HUNK_RECYCLED;
@@ -253,9 +253,9 @@ ngx_log_debug(src->file->log, "READ: %qd
 }
 
 
-int ngx_chain_write(void *data, ngx_chain_t *in)
+int ngx_chain_writer(void *data, ngx_chain_t *in)
 {
-    ngx_chain_write_ctx_t *ctx = data;
+    ngx_chain_writer_ctx_t *ctx = data;
 
     ngx_chain_t  *cl;