comparison src/core/ngx_hunk.c @ 290:87e73f067470

nginx-0.0.2-2004-03-16-10:10:12 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 16 Mar 2004 07:10:12 +0000
parents 574bea0142be
children
comparison
equal deleted inserted replaced
289:0750faf8d7e3 290:87e73f067470
29 } 29 }
30 30
31 31
32 ngx_chain_t *ngx_create_chain_of_hunks(ngx_pool_t *pool, ngx_bufs_t *bufs) 32 ngx_chain_t *ngx_create_chain_of_hunks(ngx_pool_t *pool, ngx_bufs_t *bufs)
33 { 33 {
34 int i; 34 ngx_int_t i;
35 char *p; 35 u_char *p;
36 ngx_hunk_t *h; 36 ngx_hunk_t *h;
37 ngx_chain_t *chain, *cl, **ll; 37 ngx_chain_t *chain, *cl, **ll;
38 38
39 ngx_test_null(p, ngx_palloc(pool, bufs->num * bufs->size), NULL); 39 ngx_test_null(p, ngx_palloc(pool, bufs->num * bufs->size), NULL);
40 40