# 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 -r 2b2239a1e0d4 -r 4395758d08e6 src/core/ngx_output_chain.c --- 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)