diff 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
line wrap: on
line diff
--- a/src/http/modules/ngx_http_map_module.c
+++ b/src/http/modules/ngx_http_map_module.c
@@ -227,7 +227,7 @@ ngx_http_map_block(ngx_conf_t *cf, ngx_c
     var->get_handler = ngx_http_map_variable;
     var->data = (uintptr_t) map;
 
-    pool = ngx_create_pool(16384, cf->log);
+    pool = ngx_create_pool(NGX_DEFAULT_POOL_SIZE, cf->log);
     if (pool == NULL) {
         return NGX_CONF_ERROR;
     }