Mercurial > hg > nginx
comparison src/core/ngx_hunk.c @ 194:2357fa41738a
nginx-0.0.1-2003-11-21-09:30:49 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 21 Nov 2003 06:30:49 +0000 |
parents | 8aef3c72e5da |
children | 0b67be7d4489 |
comparison
equal
deleted
inserted
replaced
193:dd66383796a5 | 194:2357fa41738a |
---|---|
1 | 1 |
2 #include <ngx_config.h> | 2 #include <ngx_config.h> |
3 #include <ngx_core.h> | 3 #include <ngx_core.h> |
4 | 4 |
5 | 5 |
6 ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, int size) | 6 ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, size_t size) |
7 { | 7 { |
8 ngx_hunk_t *h; | 8 ngx_hunk_t *h; |
9 | 9 |
10 ngx_test_null(h, ngx_alloc_hunk(pool), NULL); | 10 ngx_test_null(h, ngx_alloc_hunk(pool), NULL); |
11 | 11 |