Mercurial > hg > nginx
diff src/http/modules/ngx_http_geo_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 | f7fe817c92a2 |
children | f1a91825730a |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_geo_module.c +++ b/src/http/modules/ngx_http_geo_module.c @@ -430,14 +430,14 @@ ngx_http_geo_block(ngx_conf_t *cf, ngx_c return NGX_CONF_ERROR; } - pool = ngx_create_pool(16384, cf->log); + pool = ngx_create_pool(NGX_DEFAULT_POOL_SIZE, cf->log); if (pool == NULL) { return NGX_CONF_ERROR; } ngx_memzero(&ctx, sizeof(ngx_http_geo_conf_ctx_t)); - ctx.temp_pool = ngx_create_pool(16384, cf->log); + ctx.temp_pool = ngx_create_pool(NGX_DEFAULT_POOL_SIZE, cf->log); if (ctx.temp_pool == NULL) { return NGX_CONF_ERROR; }