# HG changeset patch # User Igor Sysoev # Date 1318331504 0 # Node ID d434191a147f1ef4363f2aa60bbebbfc0be21675 # Parent a12c558503f0221d2041ee15918e40fc5042e8e0 Fixing directive name in error message if types hash size is not enough. diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -3425,7 +3425,7 @@ ngx_http_core_merge_loc_conf(ngx_conf_t types_hash.key = ngx_hash_key_lc; types_hash.max_size = conf->types_hash_max_size; types_hash.bucket_size = conf->types_hash_bucket_size; - types_hash.name = "mime_types_hash"; + types_hash.name = "types_hash"; types_hash.pool = cf->pool; types_hash.temp_pool = NULL;