Mercurial > hg > nginx-quic
comparison src/http/ngx_http_file_cache.c @ 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 |
comparison
equal
deleted
inserted
replaced
3972:c1a69e03bdf2 | 3973:9d6f21415231 |
---|---|
1602 } | 1602 } |
1603 | 1603 |
1604 cache->path->manager = ngx_http_file_cache_manager; | 1604 cache->path->manager = ngx_http_file_cache_manager; |
1605 cache->path->loader = ngx_http_file_cache_loader; | 1605 cache->path->loader = ngx_http_file_cache_loader; |
1606 cache->path->data = cache; | 1606 cache->path->data = cache; |
1607 cache->path->conf_file = cf->conf_file->file.name.data; | |
1608 cache->path->line = cf->conf_file->line; | |
1607 | 1609 |
1608 if (ngx_add_path(cf, &cache->path) != NGX_OK) { | 1610 if (ngx_add_path(cf, &cache->path) != NGX_OK) { |
1609 return NGX_CONF_ERROR; | 1611 return NGX_CONF_ERROR; |
1610 } | 1612 } |
1611 | 1613 |