Stylistic change in checking the boolean expression.

This commit is contained in:
Ruslan Ermilov 2011-10-12 09:27:34 +00:00
parent bfe7be45b8
commit 51a2423633

View File

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