comparison src/http/ngx_http_core_module.c @ 2277:732bf367dc08

NGX_OPEN_FILE_DIRECTIO_OFF
author Igor Sysoev <igor@sysoev.ru>
date Thu, 16 Oct 2008 13:31:00 +0000
parents 41b51261b726
children 4a878cbad757
comparison
equal deleted inserted replaced
2276:1c758cc43280 2277:732bf367dc08
3468 } 3468 }
3469 3469
3470 value = cf->args->elts; 3470 value = cf->args->elts;
3471 3471
3472 if (ngx_strcmp(value[1].data, "off") == 0) { 3472 if (ngx_strcmp(value[1].data, "off") == 0) {
3473 clcf->directio = NGX_MAX_OFF_T_VALUE; 3473 clcf->directio = NGX_OPEN_FILE_DIRECTIO_OFF;
3474 return NGX_CONF_OK; 3474 return NGX_CONF_OK;
3475 } 3475 }
3476 3476
3477 clcf->directio = ngx_parse_offset(&value[1]); 3477 clcf->directio = ngx_parse_offset(&value[1]);
3478 if (clcf->directio == (off_t) NGX_ERROR) { 3478 if (clcf->directio == (off_t) NGX_ERROR) {