Mercurial > hg > nginx-quic
comparison src/core/ngx_output_chain.c @ 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 | 9fd738b85fad |
children | a7ff19afbb14 |
comparison
equal
deleted
inserted
replaced
6818:2b2239a1e0d4 | 6819:4395758d08e6 |
---|---|
510 dst = ctx->buf; | 510 dst = ctx->buf; |
511 | 511 |
512 size = ngx_buf_size(src); | 512 size = ngx_buf_size(src); |
513 size = ngx_min(size, dst->end - dst->pos); | 513 size = ngx_min(size, dst->end - dst->pos); |
514 | 514 |
515 sendfile = ctx->sendfile & !ctx->directio; | 515 sendfile = ctx->sendfile && !ctx->directio; |
516 | 516 |
517 #if (NGX_SENDFILE_LIMIT) | 517 #if (NGX_SENDFILE_LIMIT) |
518 | 518 |
519 if (src->in_file && src->file_pos >= NGX_SENDFILE_LIMIT) { | 519 if (src->in_file && src->file_pos >= NGX_SENDFILE_LIMIT) { |
520 sendfile = 0; | 520 sendfile = 0; |