diff options
Diffstat (limited to 'src/http/ngx_http_script.c')
| -rw-r--r-- | src/http/ngx_http_script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index af6e3098f..7a47417e4 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -994,8 +994,8 @@ ngx_http_script_file_code(ngx_http_script_engine_t *e) 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; |
