Mercurial > hg > nginx-vendor-1-0
comparison src/core/ngx_list.h @ 16:74b1868dd3cd NGINX_0_1_8
nginx 0.1.8
*) Bugfix: in the ngx_http_autoindex_module if the long file names were
in the listing.
*) Feature: the "^~" modifier in the location directive.
*) Feature: the proxy_max_temp_file_size directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sat, 20 Nov 2004 00:00:00 +0300 |
parents | f0b350454894 |
children | 72eb30262aac |
comparison
equal
deleted
inserted
replaced
15:0503cb60c4e4 | 16:74b1868dd3cd |
---|---|
28 ngx_uint_t nalloc; | 28 ngx_uint_t nalloc; |
29 ngx_pool_t *pool; | 29 ngx_pool_t *pool; |
30 } ngx_list_t; | 30 } ngx_list_t; |
31 | 31 |
32 | 32 |
33 ngx_inline static ngx_int_t ngx_list_init(ngx_list_t *list, ngx_pool_t *pool, | 33 static ngx_inline ngx_int_t ngx_list_init(ngx_list_t *list, ngx_pool_t *pool, |
34 ngx_uint_t n, size_t size) | 34 ngx_uint_t n, size_t size) |
35 { | 35 { |
36 if (!(list->part.elts = ngx_palloc(pool, n * size))) { | 36 if (!(list->part.elts = ngx_palloc(pool, n * size))) { |
37 return NGX_ERROR; | 37 return NGX_ERROR; |
38 } | 38 } |