Mercurial > hg > nginx
changeset 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 | 2b2239a1e0d4 |
children | eada22643e8b |
files | src/core/ngx_output_chain.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_output_chain.c Tue Nov 22 13:40:08 2016 +0800 +++ b/src/core/ngx_output_chain.c Wed Dec 07 13:54:30 2016 +0300 @@ -512,7 +512,7 @@ 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)