summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2011-10-12 09:27:34 +0000
committerRuslan Ermilov <ru@nginx.com>2011-10-12 09:27:34 +0000
commit51a2423633f3831ca4b05ba1afea83a4d3189835 (patch)
tree39521230d299f10acc8e1d8243579dfcd08cfe13 /src
parentbfe7be45b87c766469bf912ba9e080886065fb08 (diff)
downloadnginx-51a2423633f3831ca4b05ba1afea83a4d3189835.tar.gz
nginx-51a2423633f3831ca4b05ba1afea83a4d3189835.tar.bz2
Stylistic change in checking the boolean expression.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_special_response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index 0d66a4b6b..ea0378e4e 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -375,7 +375,7 @@ ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error)
}
}
- if (r->lingering_close == 1) {
+ if (r->lingering_close) {
switch (error) {
case NGX_HTTP_BAD_REQUEST:
case NGX_HTTP_TO_HTTPS: