From fcb2e2864e0c7a245daef1fc11ffedf6598f21df Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Wed, 7 Dec 2016 13:54:30 +0300 Subject: [PATCH] Fixed spelling of logical AND operator, no functional changes. Found by PVS-Studio. --- src/core/ngx_output_chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c index f7845787b..7f5dc787e 100644 --- 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_chain_ctx_t *ctx) 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)