Mercurial > hg > nginx-quic
diff src/core/ngx_output_chain.c @ 6819:4395758d08e6
Fixed spelling of logical AND operator, no functional changes.
Found by PVS-Studio.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 07 Dec 2016 13:54:30 +0300 |
parents | 9fd738b85fad |
children | a7ff19afbb14 |
line wrap: on
line diff
--- a/src/core/ngx_output_chain.c +++ b/src/core/ngx_output_chain.c @@ -512,7 +512,7 @@ ngx_output_chain_copy_buf(ngx_output_cha size = ngx_buf_size(src); size = ngx_min(size, dst->end - dst->pos); - sendfile = ctx->sendfile & !ctx->directio; + sendfile = ctx->sendfile && !ctx->directio; #if (NGX_SENDFILE_LIMIT)