aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_file.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-30 07:45:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-30 07:45:55 +0000
commit19298ec1d3b426ec33c4f06209d96edfbaf7f9de (patch)
tree2f717d2f64ec3ef3ee9083d79a799dd8c0b24329 /src/core/ngx_file.c
parent1be7419d10a4c2226783f280af9e2aa7ff48b738 (diff)
downloadnginx-19298ec1d3b426ec33c4f06209d96edfbaf7f9de.tar.gz
nginx-19298ec1d3b426ec33c4f06209d96edfbaf7f9de.zip
introduce cache manager instead of cache cleaner
Diffstat (limited to 'src/core/ngx_file.c')
-rw-r--r--src/core/ngx_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c
index fed19e690..6bff833d6 100644
--- a/src/core/ngx_file.c
+++ b/src/core/ngx_file.c
@@ -264,7 +264,7 @@ ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
}
path->len = 0;
- path->cleaner = (ngx_path_cleaner_pt) cmd->post;
+ path->manager = (ngx_path_manager_pt) cmd->post;
path->conf_file = cf->conf_file->file.name.data;
path->line = cf->conf_file->line;
@@ -324,7 +324,7 @@ ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path, ngx_path_t *prev,
+ init->level[1] + (init->level[1] ? 1 : 0)
+ init->level[2] + (init->level[2] ? 1 : 0);
- (*path)->cleaner = NULL;
+ (*path)->manager = NULL;
(*path)->conf_file = NULL;
if (ngx_add_path(cf, path) != NGX_OK) {