]> git.kaiwu.me - nginx.git/commitdiff
merge r2935:
authorIgor Sysoev <igor@sysoev.ru>
Mon, 15 Jun 2009 08:58:16 +0000 (08:58 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 15 Jun 2009 08:58:16 +0000 (08:58 +0000)
initialize use_event field in open file cache
the bug had been introduced in r2071

src/core/ngx_open_file_cache.c

index 173980fa8bd547371796e8734ed9b2f25720d70c..aa87fd22c40afe7726a13d1232f4fc92f395660e 100644 (file)
@@ -360,6 +360,7 @@ create:
 
     file->uses = 1;
     file->count = 0;
+    file->use_event = 0;
     file->event = NULL;
 
 add_event: