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
+++ 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: