Welcome! Log In Create A New Profile

Advanced

[nginx] Fixed spelling of logical AND operator, no functional changes.

Sergey Kandaurov
December 07, 2016 05:58AM
details: http://hg.nginx.org/nginx/rev/4395758d08e6
branches:
changeset: 6819:4395758d08e6
user: Sergey Kandaurov <pluknet@nginx.com>
date: Wed Dec 07 13:54:30 2016 +0300
description:
Fixed spelling of logical AND operator, no functional changes.

Found by PVS-Studio.

diffstat:

src/core/ngx_output_chain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

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

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Fixed spelling of logical AND operator, no functional changes.

Sergey Kandaurov 947 December 07, 2016 05:58AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready