Klaus Demo nginx / a250a52
test the most relevant condition first Igor Sysoev 14 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
352352
353353 update:
354354
355 if ((ngx_event_flags & NGX_USE_VNODE_EVENT)
356 && of->events
355 if (of->events
356 && (ngx_event_flags & NGX_USE_VNODE_EVENT)
357357 && of->fd != NGX_INVALID_FILE)
358358 {
359359 file->event = ngx_calloc(sizeof(ngx_event_t), pool->log);