diff options
Diffstat (limited to 'src/os/unix/ngx_aio_write_chain.c')
-rw-r--r-- | src/os/unix/ngx_aio_write_chain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_aio_write_chain.c b/src/os/unix/ngx_aio_write_chain.c index c1109dc12..88b2474c9 100644 --- a/src/os/unix/ngx_aio_write_chain.c +++ b/src/os/unix/ngx_aio_write_chain.c @@ -22,8 +22,8 @@ ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in, /* the maximum limit size is the maximum size_t value - the page size */ - if (limit == 0 || limit > MAX_SIZE_T_VALUE - ngx_pagesize) { - limit = MAX_SIZE_T_VALUE - ngx_pagesize; + if (limit == 0 || limit > NGX_MAX_SIZE_T_VALUE - ngx_pagesize) { + limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; } send = 0; |