diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-06-02 15:24:30 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-06-02 15:24:30 +0000 |
| commit | 7578ec9df43bbb31db5291f1b76359d10900a679 (patch) | |
| tree | 87d7b3cb729c0e07b21d52737fd76e12a0c17d72 /src/core/ngx_hunk.h | |
| parent | aa3436c04c222d57498bfa34c9fdec50f07fd08d (diff) | |
| download | nginx-7578ec9df43bbb31db5291f1b76359d10900a679.tar.gz nginx-7578ec9df43bbb31db5291f1b76359d10900a679.tar.bz2 | |
nginx-0.0.1-2003-06-02-19:24:30 import
Diffstat (limited to 'src/core/ngx_hunk.h')
| -rw-r--r-- | src/core/ngx_hunk.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/ngx_hunk.h b/src/core/ngx_hunk.h index c097289d8..c0e0dbf7b 100644 --- a/src/core/ngx_hunk.h +++ b/src/core/ngx_hunk.h @@ -71,11 +71,9 @@ ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, int size, int before, int after); #define ngx_alloc_hunk(pool) ngx_palloc(pool, sizeof(ngx_hunk_t)) -#define ngx_alloc_chain_entry(pool) ngx_palloc(pool, sizeof(ngx_chain_t)) +#define ngx_calloc_hunk(pool) ngx_pcalloc(pool, sizeof(ngx_hunk_t)) -/* STUB */ -#define ngx_create_chain_entry(pool) ngx_palloc(pool, sizeof(ngx_chain_t)) -/**/ +#define ngx_alloc_chain_entry(pool) ngx_palloc(pool, sizeof(ngx_chain_t)) #define ngx_add_hunk_to_chain(chain, h, pool, error) \ do { \ |
