Mercurial > hg > nginx
changeset 4201:1d52dd2b5bb7
Stylistic change in checking the boolean expression.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 12 Oct 2011 09:27:34 +0000 |
parents | 4f5b3714eead |
children | 7a739880b80c |
files | src/http/ngx_http_special_response.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_special_response.c Wed Oct 12 09:19:57 2011 +0000 +++ b/src/http/ngx_http_special_response.c Wed Oct 12 09:27:34 2011 +0000 @@ -375,7 +375,7 @@ } } - if (r->lingering_close == 1) { + if (r->lingering_close) { switch (error) { case NGX_HTTP_BAD_REQUEST: case NGX_HTTP_TO_HTTPS: