| commit | 6d2a14aa906b1d576d5151b2410b59cfcab5edd4 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Mon Sep 27 16:03:21 2004 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Mon Sep 27 16:03:21 2004 +0000 |
| tree | 7d8d6d36783a29c4a9ec78e81bb9814155bb355f | |
| parent | 4bed6e3120eeccc7f3ea97101decd382552a0ffc [diff] [blame] |
nginx-0.1.0-2004-09-27-20:03:21 import
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 58fa59d..a40548e 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -1416,6 +1416,10 @@ ngx_conf_merge_str_value(conf->root, prev->root, "html"); + if (ngx_conf_full_name(cf->cycle, &conf->root) == NGX_ERROR) { + return NGX_CONF_ERROR; + } + if (conf->types == NULL) { if (prev->types) { conf->types = prev->types;