Mercurial > hg > nginx
diff src/core/ngx_hunk.c @ 93:738fe44c70d5
nginx-0.0.1-2003-05-21-17:28:21 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 21 May 2003 13:28:21 +0000 |
parents | 6127d7075471 |
children | 7ebc8b7fb816 |
line wrap: on
line diff
--- a/src/core/ngx_hunk.c Tue May 20 15:37:55 2003 +0000 +++ b/src/core/ngx_hunk.c Wed May 21 13:28:21 2003 +0000 @@ -25,9 +25,9 @@ return h; } - + ngx_hunk_t *ngx_create_hunk_before(ngx_pool_t *pool, ngx_hunk_t *hunk, int size) -{ +{ ngx_hunk_t *h; ngx_test_null(h, ngx_palloc(pool, sizeof(ngx_hunk_t)), NULL); @@ -47,7 +47,7 @@ } else { ngx_test_null(h->pre_start, ngx_palloc(pool, size), NULL); - h->start = h->pos = h->last = h->pre_start; + h->start = h->pos = h->last = h->pre_start; h->end = h->post_end = h->start + size; h->file_pos = h->file_last = 0; @@ -84,7 +84,7 @@ } else { ngx_test_null(h->pre_start, ngx_palloc(pool, size), NULL); - h->start = h->pos = h->last = h->pre_start; + h->start = h->pos = h->last = h->pre_start; h->end = h->post_end = h->start + size; h->file_pos = h->file_last = 0;