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
+++ 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)