Mercurial > hg > nginx-vendor-0-6
diff src/core/ngx_array.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 | aab2ea7c0458 |
line wrap: on
line diff
--- a/src/core/ngx_array.h +++ b/src/core/ngx_array.h @@ -26,7 +26,7 @@ void ngx_destroy_array(ngx_array_t *a); void *ngx_push_array(ngx_array_t *a); -ngx_inline static ngx_int_t ngx_array_init(ngx_array_t *array, ngx_pool_t *pool, +static ngx_inline ngx_int_t ngx_array_init(ngx_array_t *array, ngx_pool_t *pool, ngx_uint_t n, size_t size) { if (!(array->elts = ngx_palloc(pool, n * size))) {