Mercurial > hg > nginx
comparison src/core/ngx_open_file_cache.c @ 1457:223e92651ca5
open_file_cache_events
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 03 Sep 2007 08:41:42 +0000 |
parents | f2feed5bffe1 |
children | 614090b26fbf |
comparison
equal
deleted
inserted
replaced
1456:698ea64f71e1 | 1457:223e92651ca5 |
---|---|
351 | 351 |
352 file->count = 0; | 352 file->count = 0; |
353 | 353 |
354 update: | 354 update: |
355 | 355 |
356 if (ngx_event_flags & NGX_USE_VNODE_EVENT && of->fd != NGX_INVALID_FILE) { | 356 if ((ngx_event_flags & NGX_USE_VNODE_EVENT) |
357 | 357 && of->events |
358 && of->fd != NGX_INVALID_FILE) | |
359 { | |
358 file->event = ngx_calloc(sizeof(ngx_event_t), pool->log); | 360 file->event = ngx_calloc(sizeof(ngx_event_t), pool->log); |
359 if (file->event== NULL) { | 361 if (file->event== NULL) { |
360 goto failed; | 362 goto failed; |
361 } | 363 } |
362 | 364 |