From 3e6f74da0556265b7ad3fbdb629f2898b1e1936f Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 23 Jun 2008 13:35:34 +0000 Subject: initialize of.uniq in ngx_open_cached_file() --- src/http/modules/ngx_http_static_module.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/http/modules/ngx_http_static_module.c') diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c index fc84268dc..9d48fb91b 100644 --- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c @@ -96,6 +96,7 @@ ngx_http_static_handler(ngx_http_request_t *r) clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); + of.uniq = 0; of.test_dir = 0; of.valid = clcf->open_file_cache_valid; of.min_uses = clcf->open_file_cache_min_uses; -- cgit