ngx_memzero() ngx_open_file_info_t
diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c
index 9d48fb9..f5d6971 100644
--- a/src/http/modules/ngx_http_static_module.c
+++ b/src/http/modules/ngx_http_static_module.c
@@ -96,8 +96,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;