diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2013-03-21 16:03:24 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2013-03-21 16:03:24 +0000 |
| commit | 56fce56f4f06a4c1a57a51c1bb1513397b053b1e (patch) | |
| tree | e4e67d960a0989ba41eaaf737947c648f16aed44 /src/http/modules/ngx_http_geo_module.c | |
| parent | 7b80e43389c313b15574df255dbf5336d6b1dc20 (diff) | |
| download | nginx-56fce56f4f06a4c1a57a51c1bb1513397b053b1e.tar.gz nginx-56fce56f4f06a4c1a57a51c1bb1513397b053b1e.tar.bz2 | |
Use NGX_DEFAULT_POOL_SIZE macro where appropriate.
Diffstat (limited to 'src/http/modules/ngx_http_geo_module.c')
| -rw-r--r-- | src/http/modules/ngx_http_geo_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_geo_module.c b/src/http/modules/ngx_http_geo_module.c index 725baa211..34c3b190d 100644 --- 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_command_t *cmd, void *conf) 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; } |
