From: Ruslan Ermilov Date: Wed, 12 Oct 2011 09:27:34 +0000 (+0000) Subject: Stylistic change in checking the boolean expression. X-Git-Tag: release-1.1.6~11 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=51a2423633f3831ca4b05ba1afea83a4d3189835;p=nginx.git Stylistic change in checking the boolean expression. --- 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: