diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-08-10 13:27:14 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-08-10 13:27:14 +0000 |
commit | 4413fad0db61c0817694b27fd4461a3e9e7cb8e6 (patch) | |
tree | ec705f28b400c51fb928efff4a45a490dc794f73 /src/core/ngx_file.c | |
parent | 3210b282f5595e257c42569c24233b42878a1d84 (diff) | |
download | nginx-4413fad0db61c0817694b27fd4461a3e9e7cb8e6.tar.gz nginx-4413fad0db61c0817694b27fd4461a3e9e7cb8e6.zip |
cache loader process
Diffstat (limited to 'src/core/ngx_file.c')
-rw-r--r-- | src/core/ngx_file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c index 3f47fc98b..19ed86df0 100644 --- a/src/core/ngx_file.c +++ b/src/core/ngx_file.c @@ -264,7 +264,8 @@ ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) } path->len = 0; - path->manager = (ngx_path_manager_pt) cmd->post; + path->manager = NULL; + path->loader = NULL; path->conf_file = cf->conf_file->file.name.data; path->line = cf->conf_file->line; @@ -325,6 +326,7 @@ ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path, ngx_path_t *prev, + init->level[2] + (init->level[2] ? 1 : 0); (*path)->manager = NULL; + (*path)->loader = NULL; (*path)->conf_file = NULL; if (ngx_add_path(cf, path) != NGX_OK) { |