changeset 3973:9d6f21415231

set correct configuration file values while adding path patch by Maxim Dounin
author Igor Sysoev <igor@sysoev.ru>
date Mon, 25 Jul 2011 10:22:38 +0000
parents c1a69e03bdf2
children d10bcb07d9d4
files src/http/ngx_http_file_cache.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -1604,6 +1604,8 @@ ngx_http_file_cache_set_slot(ngx_conf_t 
     cache->path->manager = ngx_http_file_cache_manager;
     cache->path->loader = ngx_http_file_cache_loader;
     cache->path->data = cache;
+    cache->path->conf_file = cf->conf_file->file.name.data;
+    cache->path->line = cf->conf_file->line;
 
     if (ngx_add_path(cf, &cache->path) != NGX_OK) {
         return NGX_CONF_ERROR;