aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-10-11 11:11:44 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-10-11 11:11:44 +0000
commit0d19f020ba932be2959a9249b6f58c4151e7c443 (patch)
tree5b8328abd40b6a4f182fb2eb0a4d6dec75e33f03 /src
parent840ef3980cb4c2f8aa508d10c9284faf17031998 (diff)
downloadnginx-0d19f020ba932be2959a9249b6f58c4151e7c443.tar.gz
nginx-0d19f020ba932be2959a9249b6f58c4151e7c443.zip
Fixing directive name in error message if types hash size is not enough.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 3056e8470..2bf6a19a7 100644
--- 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 *cf, void *parent, void *child)
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;