diff src/http/ngx_http_script.c @ 2063:67a29af877ed

initialize of.uniq in ngx_open_cached_file()
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 Jun 2008 13:35:34 +0000
parents 2a92804f4109
children 75a8d34459c5
line wrap: on
line diff
--- a/src/http/ngx_http_script.c
+++ b/src/http/ngx_http_script.c
@@ -994,6 +994,7 @@ ngx_http_script_file_code(ngx_http_scrip
 
     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;