From 51a2423633f3831ca4b05ba1afea83a4d3189835 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 12 Oct 2011 09:27:34 +0000 Subject: [PATCH] Stylistic change in checking the boolean expression. --- src/http/ngx_http_special_response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.3