# HG changeset patch # User Ruslan Ermilov # Date 1318411654 0 # Node ID 1d52dd2b5bb7a44724c21041385ca838a1940ad0 # Parent 4f5b3714eeadca363a2ac50f6eec4cfe25ac6dde 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 --- 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_ht } } - if (r->lingering_close == 1) { + if (r->lingering_close) { switch (error) { case NGX_HTTP_BAD_REQUEST: case NGX_HTTP_TO_HTTPS: