comparison src/core/ngx_list.h @ 467:bbd6b0b4a2b1 release-0.1.8

nginx-0.1.8-RELEASE import *) 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 <igor@sysoev.ru>
date Sat, 20 Nov 2004 19:52:20 +0000
parents 42d11f017717
children d4ea69372b94
comparison
equal deleted inserted replaced
466:ee6d66462bff 467:bbd6b0b4a2b1
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 }