# HG changeset patch # User Sergey Kandaurov # Date 1481108070 -10800 # Node ID 4395758d08e630cbb70e500abe0acd2268865d23 # Parent 2b2239a1e0d4599dc2e237825633a34db2da78d7 Fixed spelling of logical AND operator, no functional changes. Found by PVS-Studio. diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c --- 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)