diff src/http/ngx_http_special_response.c @ 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 55acacac22df
children 1a94a56a4e5d
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: