aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_hunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_hunk.h')
-rw-r--r--src/core/ngx_hunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_hunk.h b/src/core/ngx_hunk.h
index ddf4d04d2..c097289d8 100644
--- a/src/core/ngx_hunk.h
+++ b/src/core/ngx_hunk.h
@@ -79,7 +79,7 @@ ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, int size,
#define ngx_add_hunk_to_chain(chain, h, pool, error) \
do { \
- ngx_test_null(chain, ngx_create_chain_entry(pool), error); \
+ ngx_test_null(chain, ngx_alloc_chain_entry(pool), error); \
chain->hunk = h; \
chain->next = NULL; \
} while (0);