| commit | 5a0eac8692b5064ae5017c7d4658dac499ee2b73 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Thu Jun 26 14:07:59 2008 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Thu Jun 26 14:07:59 2008 +0000 |
| tree | eacbbeabec894d333c3b2d2a4f1a94648db998df | |
| parent | 1e1f4c8a04f32907c1b9e263ec45bf20bb6210bb [diff] [blame] |
ngx_memzero() ngx_open_file_info_t
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index af6e309..7a47417 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c
@@ -994,8 +994,8 @@ clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); - of.uniq = 0; - of.test_dir = 0; + ngx_memzero(&of, sizeof(ngx_open_file_info_t)); + of.valid = clcf->open_file_cache_valid; of.min_uses = clcf->open_file_cache_min_uses; of.errors = clcf->open_file_cache_errors;