Mercurial > hg > nginx
comparison src/http/modules/ngx_http_map_module.c @ 5124:5482671df278
Use NGX_DEFAULT_POOL_SIZE macro where appropriate.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 21 Mar 2013 16:03:24 +0000 |
parents | 8b635cf36ccc |
children | 79b9101cecf4 |
comparison
equal
deleted
inserted
replaced
5123:4fef8ed52389 | 5124:5482671df278 |
---|---|
225 } | 225 } |
226 | 226 |
227 var->get_handler = ngx_http_map_variable; | 227 var->get_handler = ngx_http_map_variable; |
228 var->data = (uintptr_t) map; | 228 var->data = (uintptr_t) map; |
229 | 229 |
230 pool = ngx_create_pool(16384, cf->log); | 230 pool = ngx_create_pool(NGX_DEFAULT_POOL_SIZE, cf->log); |
231 if (pool == NULL) { | 231 if (pool == NULL) { |
232 return NGX_CONF_ERROR; | 232 return NGX_CONF_ERROR; |
233 } | 233 } |
234 | 234 |
235 ctx.keys.pool = cf->pool; | 235 ctx.keys.pool = cf->pool; |