comparison src/core/ngx_open_file_cache.c @ 2934:b6d588fa3ee9

initialize use_event field in open file cache the bug had been introduced in r2071
author Igor Sysoev <igor@sysoev.ru>
date Fri, 12 Jun 2009 14:23:29 +0000
parents 87c088e6956a
children b1b1775698d5
comparison
equal deleted inserted replaced
2933:d24b1739cf9d 2934:b6d588fa3ee9
358 358
359 cache->current++; 359 cache->current++;
360 360
361 file->uses = 1; 361 file->uses = 1;
362 file->count = 0; 362 file->count = 0;
363 file->use_event = 0;
363 file->event = NULL; 364 file->event = NULL;
364 365
365 add_event: 366 add_event:
366 367
367 ngx_open_file_add_event(cache, file, of, pool->log); 368 ngx_open_file_add_event(cache, file, of, pool->log);