]> git.kaiwu.me - nginx.git/commitdiff
Fixing directive name in error message if types hash size is not enough.
authorIgor Sysoev <igor@sysoev.ru>
Tue, 11 Oct 2011 11:11:44 +0000 (11:11 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 11 Oct 2011 11:11:44 +0000 (11:11 +0000)
src/http/ngx_http_core_module.c

index 3056e847083c938c7ba7c1fe5d382be32bbfe7e5..2bf6a19a7d1869091773c70b5ce2be0091c4d579 100644 (file)
@@ -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;