diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2016-12-07 13:54:30 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2016-12-07 13:54:30 +0300 |
commit | fcb2e2864e0c7a245daef1fc11ffedf6598f21df (patch) | |
tree | 84a79bb9a0ec54178f96900a3aa773f0eadae918 /src | |
parent | 8b8b6f41e62407979cbd3d2a91afcdfdd1a0afd8 (diff) | |
download | nginx-fcb2e2864e0c7a245daef1fc11ffedf6598f21df.tar.gz nginx-fcb2e2864e0c7a245daef1fc11ffedf6598f21df.zip |
Fixed spelling of logical AND operator, no functional changes.
Found by PVS-Studio.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ngx_output_chain.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |